mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 00:52:18 +01:00
Tweak build-*.sh "Wuffs root directory" check
This commit is contained in:
1 parent
6fb7697b4a
commit
eb6703425a
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -37,7 +37,7 @@
|
|||||||
# gcc ./example/zcat/zcat.c
|
# gcc ./example/zcat/zcat.c
|
||||||
# ./a.out < ./test/data/romeo.txt.gz
|
# ./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."
|
echo "$0 should be run from the Wuffs root directory."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
# See build-all.sh for commentary.
|
# 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."
|
echo "$0 should be run from the Wuffs root directory."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
# See build-all.sh for commentary.
|
# 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."
|
echo "$0 should be run from the Wuffs root directory."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user