Skip to content

Commit d3e9e7c

Browse files
committed
Linter: Fix SC2223
This default assignment may cause DoS due to globbing. Quote it. - https://github.com/koalaman/shellcheck/wiki/SC2223
1 parent 21ae924 commit d3e9e7c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

install-extensions.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
set -xeu
44

5-
: ${TRAVIS_PHP_VERSION=7.4}
6-
: ${TIDEWAYS_VERSION=4.1.4}
7-
: ${TIDEWAYS_XHPROF_VERSION=5.0.2}
8-
: ${PHP_VERSION=${TRAVIS_PHP_VERSION}}
5+
: "${TRAVIS_PHP_VERSION=7.4}"
6+
: "${TIDEWAYS_VERSION=4.1.4}"
7+
: "${TIDEWAYS_XHPROF_VERSION=5.0.2}"
8+
: "${PHP_VERSION=${TRAVIS_PHP_VERSION}}"
99

1010
die() {
1111
echo >&2 "ERROR: $*"

0 commit comments

Comments
 (0)