diff options
author | Bernd Schubert <bernd.schubert@fastmail.fm> | 2024-03-20 16:43:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 16:43:54 +0100 |
commit | e547a66566900f6b17bc9515beb60a304aef6466 (patch) | |
tree | f16a557db6ad00f94add7d1e0fd4ad01a43e8fcc | |
parent | c021e910a5592756f7c3fa47f89d83e41c8a3505 (diff) | |
download | libfuse-e547a66566900f6b17bc9515beb60a304aef6466.tar.gz |
ci-build.sh: Fix checking for function arguments (#909)
Checking for an emtpy string actually doesn't work for $@,
so just check for number of arguments.
Co-authored-by: Bernd Schubert <bschubert@ddn.com>
-rwxr-xr-x | test/ci-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ci-build.sh b/test/ci-build.sh index 0307865..11ec5d5 100755 --- a/test/ci-build.sh +++ b/test/ci-build.sh @@ -89,7 +89,7 @@ sanitized_build() meson configure -D b_lundef=false # additional options - if [ -n "$@" ]; then + if [[ $# -gt 0 ]]; then meson configure "$@" fi |