Skip to content

Commit b0b46a6

Browse files
committed
fix: github build script check if target is empty for speed script
1 parent c8fb31f commit b0b46a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build/speed.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none"
33
TARGET=""
44

5-
if [ -n $1 ]; then
5+
if [ ! -z "$1" ]; then
66
TARGET="--target $1"
77
fi
88

0 commit comments

Comments
 (0)