From: Brian Date: Tue, 7 Aug 2007 20:51:46 +0000 (+0100) Subject: remove SHELL line, replace -e test with new logic (Daniel Stone) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1223b75e63b0ecf72bdfa2e7c102bba4bfa398ee;p=mesa.git remove SHELL line, replace -e test with new logic (Daniel Stone) --- diff --git a/Makefile b/Makefile index 734601f033e..2de764592ab 100644 --- 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