Argh. Now we break non-pristine builds. Check a bit more carefully.
authorEric Andersen <andersen@codepoet.org>
Tue, 1 May 2001 14:54:35 +0000 (14:54 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 1 May 2001 14:54:35 +0000 (14:54 -0000)
 -Erik

applets/busybox.sh
busybox.sh

index 6b25dff3b4ab81fff4702f389b956fb5c0ccd7dd..26d1376a0584eabb1f7b6ba7eb9470ef782980b0 100755 (executable)
@@ -9,7 +9,7 @@ RAW=` \
     | tr A-Z a-z | sort
 `
 test "${RAW}" != "" ||  exit
-if [ -d $BB_SRC_DIR ]; then cd $BB_SRC_DIR; fi
+if [ -d ${$BB_SRC_DIR:-.} ]; then cd $BB_SRC_DIR; fi
 # By running $RAW through "ls", we avoid listing
 # source files that don't exist.
 ls $RAW 2>/dev/null | tr '\n' ' '
index 6b25dff3b4ab81fff4702f389b956fb5c0ccd7dd..26d1376a0584eabb1f7b6ba7eb9470ef782980b0 100755 (executable)
@@ -9,7 +9,7 @@ RAW=` \
     | tr A-Z a-z | sort
 `
 test "${RAW}" != "" ||  exit
-if [ -d $BB_SRC_DIR ]; then cd $BB_SRC_DIR; fi
+if [ -d ${$BB_SRC_DIR:-.} ]; then cd $BB_SRC_DIR; fi
 # By running $RAW through "ls", we avoid listing
 # source files that don't exist.
 ls $RAW 2>/dev/null | tr '\n' ' '