minor change with checking WORKAREA env var.
authorNathan Scott <nathans@sgi.com>
Sat, 24 Feb 2001 03:45:21 +0000 (03:45 +0000)
committerNathan Scott <nathans@sgi.com>
Sat, 24 Feb 2001 03:45:21 +0000 (03:45 +0000)
040

diff --git a/040 b/040
index 8e75ad186e14ec9305d9edcee119d790b8fd48e9..0d62c6d5df310b8def644339439018e1fd402533 100755 (executable)
--- a/040
+++ b/040
@@ -57,7 +57,7 @@ cd `pwd`
 
 if [ -z "$WORKAREA" ]
 then
 
 if [ -z "$WORKAREA" ]
 then
-    export WORKAREA=../../..
+    _notrun "Can't run srcdiff without WORKAREA set"
 fi
 
 if [ ! -f $WORKAREA/cmd/xfstests/tools/srcdiff ]
 fi
 
 if [ ! -f $WORKAREA/cmd/xfstests/tools/srcdiff ]