remove SHELL line, replace -e test with new logic (Daniel Stone)
authorBrian <brian.paul@tungstengraphics.com>
Tue, 7 Aug 2007 20:51:46 +0000 (21:51 +0100)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 7 Aug 2007 20:51:46 +0000 (21:51 +0100)
Makefile

index 734601f033e6442ece2e86ca29ef484659968c68..2de764592abcfa8ade590ec2c443fb185df5913d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,5 @@
 # Top-level Mesa makefile
 
-SHELL = /bin/bash
-
 TOP = .
 
 SUBDIRS = src progs
@@ -156,7 +154,7 @@ sunos5-v9 \
 sunos5-v9-static \
 sunos5-v9-cc-g++ \
 ultrix-gcc:
-       @ if [ -e configs/current ] ; then \
+       @ if test -f configs/current || test -L configs/current ; then \
                echo "Please run 'make realclean' before changing configs" ; \
                exit 1 ; \
        fi