oops, a silly error when trying to fix the bug that prevent build from abort when...
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 24 Oct 2003 15:29:00 +0000 (15:29 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 24 Oct 2003 15:29:00 +0000 (15:29 +0000)
build

diff --git a/build b/build
index 6877d782ab96b66d64fe25f801db2887362f3399..0f196d9db52199faba0cb6cf67c1064a1c98a047 100755 (executable)
--- a/build
+++ b/build
@@ -246,7 +246,11 @@ done
 
 [ -z "$MAKE" ] && MAKE='make'
 
-[ -f $src/$BASEVERSION/conv-mach.h ] || echo "Error> build can not find arch: $BASEVERSION!" && exit 1
+if [ ! -f $src/$BASEVERSION/conv-mach.h ] 
+then
+  echo "Error> build can not find arch: $BASEVERSION!" 
+  exit 1
+fi
 
 #generate VERSION name combining all the build-time options.
 if [ -n "$BOPTS" -o -n "$COMPILER" ]
@@ -268,6 +272,7 @@ fi
 
 echo "Copying src/scripts/Makefile to $VERSION/tmp"
 rm -f $VERSION/tmp/Makefile
+rm -f $VERSION/tmp/Make.depends
 
 if [ "x_`echo $VERSION | awk -F- '{print $2}'`" = "x_win32" ]
 then