summaryrefslogtreecommitdiff
path: root/solenv/inc/startup
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-04-11 14:03:28 +0000
committerOliver Bolte <obo@openoffice.org>2005-04-11 14:03:28 +0000
commit3e6634c104767dd0a5e515e7ea008b3dddd29bed (patch)
tree74f370182347bc742276c184a2c4d964f6ec3cc0 /solenv/inc/startup
parentb1fdd94fa77eeb86dea866dad7d90c286bebbe59 (diff)
#i10000# COMSPEC still needed
Diffstat (limited to 'solenv/inc/startup')
-rw-r--r--solenv/inc/startup/wnt/macros.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/solenv/inc/startup/wnt/macros.mk b/solenv/inc/startup/wnt/macros.mk
index 7e77d3d8055d..c02560367bc0 100644
--- a/solenv/inc/startup/wnt/macros.mk
+++ b/solenv/inc/startup/wnt/macros.mk
@@ -6,11 +6,15 @@
#
.IMPORT .IGNORE : COMSPEC
-# SHELL has to be set in OOo build environment
.IF $(SHELL) == $(NULL)
-.ERROR : ; @echo Forced error: Environment variable SHELL has to be set for OOo build!
-SHELL_variable_needed
-.ENDIF
+ .IF $(COMSPEC) == $(NULL)
+# SHELL has to be set in OOo build environment
+ .ERROR : ; @echo Forced error: Environment variable SHELL has to be set for OOo build!
+ SHELL_variable_needed
+ .ELSE
+ SHELL *:= $(COMSPEC)
+ .END
+.END
GROUPSHELL *:= $(SHELL)