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:
@@ -5,7 +5,7 @@
|
||||
set -ex
|
||||
|
||||
function initialize {
|
||||
if [ -z "$TLDRHOME" ]; then
|
||||
if [[ -z $TLDRHOME ]]; then
|
||||
export TLDRHOME=${GITHUB_WORKSPACE:-$(pwd)}
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user