diff options
| author | Eli Zaretskii | 1999-07-01 13:28:10 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 1999-07-01 13:28:10 +0000 |
| commit | 94b041809bc2735d8aa2e813ed9a2d6528f3fa29 (patch) | |
| tree | 00ab0a079de146a9268e4eaedfbe0a309cf1313d | |
| parent | 6c717109ed8128c0f0c02238d1b4a79823d8f448 (diff) | |
| download | emacs-94b041809bc2735d8aa2e813ed9a2d6528f3fa29.tar.gz emacs-94b041809bc2735d8aa2e813ed9a2d6528f3fa29.zip | |
(SHELL, MAKESHELL): Don't use /dos/command, it can
invoke an incompatible version of COMAMND.COM.
| -rw-r--r-- | msdos/mainmake.v2 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2 index 626ed5f350c..2e613156e33 100644 --- a/msdos/mainmake.v2 +++ b/msdos/mainmake.v2 | |||
| @@ -32,8 +32,15 @@ | |||
| 32 | # This gork is required for those who use a Unix-style shell, and | 32 | # This gork is required for those who use a Unix-style shell, and |
| 33 | # have SHELL in the environment pointing to it. Here we force | 33 | # have SHELL in the environment pointing to it. Here we force |
| 34 | # Make to use COMMAND.COM instead. This Makefile won't work otherwise. | 34 | # Make to use COMMAND.COM instead. This Makefile won't work otherwise. |
| 35 | SHELL=/dos/command | 35 | # (The /xyzzy directory is used to minimize the chance that someone |
| 36 | MAKESHELL=/dos/command | 36 | # actually has such a directory with an incompatible command.com. We |
| 37 | # used to have /dos there, but some Windows installations have an old | ||
| 38 | # version of DOS stashed in that directory, and command.com from there | ||
| 39 | # won't run on Windows, complaining about "Incorrect DOS version". | ||
| 40 | # Make will look up PATH for the shell executable, so the directory name | ||
| 41 | # is not important.) | ||
| 42 | SHELL=/xyzzy/command | ||
| 43 | MAKESHELL=/xyzzy/command | ||
| 37 | 44 | ||
| 38 | # Generate a full pathname of the top-level installation directory | 45 | # Generate a full pathname of the top-level installation directory |
| 39 | top_srcdir := $(subst \,/,$(shell cd)) | 46 | top_srcdir := $(subst \,/,$(shell cd)) |