aboutsummaryrefslogtreecommitdiffstats
path: root/msdos
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>1998-10-20 14:16:07 +0000
committerEli Zaretskii <[email protected]>1998-10-20 14:16:07 +0000
commit32372ef84c272010ae644eb5f6e63ac5bae23b18 (patch)
tree4863410075262d30b6c56fcd8a4513f6ee79d675 /msdos
parentbffa4d92e152cbe47eab2f5f9216bb267d6790f8 (diff)
Forcibly set SHELL and MAKESHELL to force Make to use
COMMAND.COM as the shell.
Diffstat (limited to 'msdos')
-rw-r--r--msdos/mainmake.v26
1 files changed, 6 insertions, 0 deletions
diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2
index 5a81f3bbc2..0f137cd12a 100644
--- a/msdos/mainmake.v2
+++ b/msdos/mainmake.v2
@@ -29,6 +29,12 @@
# make extraclean
# Still more severe - delete backup and autosave files, too.
+# This gork is required for those who use a Unix-style shell, and
+# have SHELL in the environment pointing to it. Here we force
+# Make to use COMMAND.COM instead. This Makefile won't work otherwise.
+override SHELL=/dos/command
+override MAKESHELL=/dos/command
+
# Generate a full pathname of the top-level installation directory
top_srcdir := $(subst \,/,$(shell cd))