aboutsummaryrefslogtreecommitdiff
path: root/bin/build-all.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-06 11:22:12 -0700
committerSelene ToyKeeper2023-11-06 11:22:12 -0700
commitb97b232e53fa2643b9bde43013465928a5d232d7 (patch)
treebdb1a0ca85f8b1e696781678f876ba8648711a95 /bin/build-all.sh
parentfixed invalid characters in github artifact names (diff)
downloadanduril-b97b232e53fa2643b9bde43013465928a5d232d7.tar.gz
anduril-b97b232e53fa2643b9bde43013465928a5d232d7.tar.bz2
anduril-b97b232e53fa2643b9bde43013465928a5d232d7.zip
build-all.sh: don't err when search term starts with a dash
Diffstat (limited to '')
-rwxr-xr-xbin/build-all.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-all.sh b/bin/build-all.sh
index ac8ea98..baa5982 100755
--- a/bin/build-all.sh
+++ b/bin/build-all.sh
@@ -35,7 +35,7 @@ for TARGET in $( find hw/*/*/ -name "$UI".h ) ; do
SKIP=0
if [ ! -z "$SEARCH" ]; then
for text in $SEARCH ; do
- echo "$NAME $TARGET" | grep -i "$text" > /dev/null
+ echo "$NAME $TARGET" | grep -i -- "$text" > /dev/null
if [ 0 != $? ]; then SKIP=1 ; fi
done
fi