From bf1ca571c83e5bfd37cefb8baee80adaf73a9c70 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sat, 5 Dec 2009 14:39:15 +0100 Subject: 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 --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap') 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 -- cgit v1.2.1