From bcc22ce8befe8130efc39d3398de660bab91cff0 Mon Sep 17 00:00:00 2001 From: Hugo Hromic Date: Sat, 6 Jul 2019 00:30:41 +0100 Subject: [PATCH] Silence shellcheck warning * SC2086: Double quote to prevent globbing and word splitting. --- build-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-docker.sh b/build-docker.sh index 65a10a0..fec7cc6 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -63,7 +63,7 @@ if [ "${CONTAINER_EXISTS}" != "" ] && [ "${CONTINUE}" != "1" ]; then fi # Modify original build-options to allow config file to be mounted in the docker container -BUILD_OPTS="$(echo ${BUILD_OPTS:-} | sed -E 's@\-c\s?([^ ]+)@-c /config@')" +BUILD_OPTS="$(echo "${BUILD_OPTS:-}" | sed -E 's@\-c\s?([^ ]+)@-c /config@')" ${DOCKER} build -t pi-gen "${DIR}" if [ "${CONTAINER_EXISTS}" != "" ]; then