From eb6703425aef420a04f83f0e5a7dd306a8f045fb Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 7 Oct 2021 14:59:13 +1100 Subject: [PATCH] Tweak build-*.sh "Wuffs root directory" check --- build-all.sh | 2 +- build-example.sh | 2 +- build-fuzz.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build-all.sh b/build-all.sh index f14ca2a3..4d16dbeb 100755 --- a/build-all.sh +++ b/build-all.sh @@ -37,7 +37,7 @@ # gcc ./example/zcat/zcat.c # ./a.out < ./test/data/romeo.txt.gz -if [ ! -e release/c/wuffs-unsupported-snapshot.c ]; then +if [ ! -e wuffs-root-directory.txt ]; then echo "$0 should be run from the Wuffs root directory." exit 1 fi diff --git a/build-example.sh b/build-example.sh index 94d118ad..6f512f7c 100755 --- a/build-example.sh +++ b/build-example.sh @@ -17,7 +17,7 @@ # See build-all.sh for commentary. -if [ ! -e release/c/wuffs-unsupported-snapshot.c ]; then +if [ ! -e wuffs-root-directory.txt ]; then echo "$0 should be run from the Wuffs root directory." exit 1 fi diff --git a/build-fuzz.sh b/build-fuzz.sh index 2b818e5d..b5f43495 100755 --- a/build-fuzz.sh +++ b/build-fuzz.sh @@ -17,7 +17,7 @@ # See build-all.sh for commentary. -if [ ! -e release/c/wuffs-unsupported-snapshot.c ]; then +if [ ! -e wuffs-root-directory.txt ]; then echo "$0 should be run from the Wuffs root directory." exit 1 fi