scripts: use [[ instead of [, fix literal shell globs (#11290)

* build.sh: move `*` outside quotes (it doesn't get expanded)

* scripts: use `[[` instead of `[` in if statements
This commit is contained in:
Lena
2023-10-26 18:41:24 +02:00
committed by GitHub
parent 1ba64fc0d7
commit 250b9d7c21
4 changed files with 18 additions and 18 deletions

View File

@@ -5,7 +5,7 @@
set -ex
function initialize {
if [ -z "$TLDRHOME" ]; then
if [[ -z $TLDRHOME ]]; then
export TLDRHOME=${GITHUB_WORKSPACE:-$(pwd)}
fi