Skip to content

Commit 340c0f9

Browse files
committed
fix codacy findings
1 parent 1f7aecb commit 340c0f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/docker/setup_phpipam.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fi
1616

1717
if "${DOCKER_CMD}" ps | grep -q phpipam_test_webserver && ! eval "${MYSQL_PING}" ; then
1818

19-
if [[ $(echo ${PHPIPAM_VERSION:-v1.4.4} | sed -E 's/v[0-9]?.([0-9]?).[0-9]?/\1/g') -ge 7 ]] ; then
19+
if [[ $(echo "${PHPIPAM_VERSION:-v1.4.4}" | sed -E 's/v[0-9]?.([0-9]?).[0-9]?/\1/g') -ge 7 ]] ; then
2020
info "Running version 1.7.0 or above, patching config"
2121
${DOCKER_CMD} exec -t phpipam_test_webserver sh -c 'sed -i "s/api_stringify_results = false/api_stringify_results = true/g" /phpipam/config.dist.php'
2222
fi

0 commit comments

Comments
 (0)