diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-02-01 21:36:46 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-02-01 21:47:35 +0800 |
commit | 2c1341f4fa06e7f487d61142aa354c433e17ec7f (patch) | |
tree | b79bdbd30571198ffd677284a86c7afebfddc398 /build-aux | |
parent | CI: Upload test logs as artifacts if a test fails. (diff) | |
download | xz-2c1341f4fa06e7f487d61142aa354c433e17ec7f.tar.xz |
CI: Add quotes around variables in a few places.
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/ci_build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/ci_build.sh b/build-aux/ci_build.sh index 85542c9b..3b462e63 100755 --- a/build-aux/ci_build.sh +++ b/build-aux/ci_build.sh @@ -62,7 +62,7 @@ while getopts b:c:d:l:n:s:p:f:h opt; do ;; # c options can be a comma separated list of check types to support c) - for crc in $(echo $OPTARG | sed "s/,/ /g"); do + for crc in $(echo "$OPTARG" | sed "s/,/ /g"); do case "$crc" in crc32) ;; crc64) ;; @@ -75,7 +75,7 @@ while getopts b:c:d:l:n:s:p:f:h opt; do # d options can be a comma separated list of things to disable at # configure time d) - for disable_arg in $(echo $OPTARG | sed "s/,/ /g"); do + for disable_arg in $(echo "$OPTARG" | sed "s/,/ /g"); do case "$disable_arg" in encoders) ENCODERS="n" ;; decoders) DECODERS="n" ;; @@ -162,7 +162,7 @@ if [ "$PHASE" = "all" ] || [ "$PHASE" = "build" ]; then fi # Run configure script - "$SRC_DIR"/configure --enable-werror --enable-checks=$CHECK_TYPE $EXTRA_OPTIONS --config-cache + "$SRC_DIR"/configure --enable-werror --enable-checks="$CHECK_TYPE" $EXTRA_OPTIONS --config-cache # Build the project make |