aboutsummaryrefslogtreecommitdiff
path: root/build_matrix.sh
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2021-05-31 14:12:34 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2021-05-31 14:38:22 +0200
commitb2c4a0f0c48d6c131785221baafa8c425eb20c26 (patch)
tree91e1d2adef0bb936817aff0b528d3847849c8690 /build_matrix.sh
parentf1e94f9fcf411ad579eea48954354b45a7d9956e (diff)
build_matrix.sh: Fix a shellcheck warning
The warning was: Use "${var:?}" to ensure this never expands to /* . [SC2115]
Diffstat (limited to 'build_matrix.sh')
-rwxr-xr-xbuild_matrix.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_matrix.sh b/build_matrix.sh
index ae0f54b3..9b4fad57 100755
--- a/build_matrix.sh
+++ b/build_matrix.sh
@@ -58,7 +58,7 @@ for CC in ${MATRIX_CC:-gcc clang}; do
echo 'Cleaning...'
travis_fold start cleaning
if [ "$CMAKE" = yes ]; then rm -rf build; else make distclean; fi
- rm -rf "$PREFIX"/*
+ rm -rf "${PREFIX:?}"/*
git status -suall
# Cancel changes in configure
git checkout configure