Skip to content

Commit 34f470a

Browse files
committed
Fix failing install-script test
- Due to `[[ -v var ]]`, probably not in bash3? Or only supported by old test command - Error introduced by me, @zbeekman a few commits ago
1 parent 9825070 commit 34f470a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/installation/installation-scripts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ set -o errtrace
8383

8484
if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then
8585
# shellcheck disable=SC2154
86-
if [[ -v __usage ]]; then
86+
if [[ "${__usage+x}" ]]; then
8787
__b3bp_tmp_source_idx=1
8888
fi
8989
fi

0 commit comments

Comments
 (0)