summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-12-05 14:39:15 +0100
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-12-05 14:39:15 +0100
commitbf1ca571c83e5bfd37cefb8baee80adaf73a9c70 (patch)
tree7774175eef5a2e8dd55a04ae16270bd18ee6ec9c /bootstrap
parent2bee52debc0e96d7c09a429fc3c888bfaa32673a (diff)
downloadautomake-bf1ca571c83e5bfd37cefb8baee80adaf73a9c70.tar.gz
Use $DJDIR rather than $DJGPP to detect running on DJGPP.
* automake.in (Language): Use $ENV{'DJDIR'} for the $ENV{'SHELL'} override. * bootstrap: Use $DJDIR for setting BOOTSTRAP_SHELL, to fix bootstrapping under MinGW when $DJGPP has been set. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index fff40d55e..2a86345db 100755
--- a/bootstrap
+++ b/bootstrap
@@ -61,7 +61,7 @@ PERL_THREADS=0
# Override SHELL. This is required on DJGPP so that Perl's system()
# uses bash, not COMMAND.COM which doesn't quote arguments properly.
# It's not used otherwise.
-if test -n "$DJGPP"; then
+if test -n "$DJDIR"; then
BOOTSTRAP_SHELL=/dev/env/DJDIR/bin/bash.exe
else
BOOTSTRAP_SHELL=/bin/sh