aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorHugo Hromic <[email protected]>2019-04-25 10:11:57 +0100
committerXECDesign <[email protected]>2019-04-25 10:11:57 +0100
commit407663a57f380bdd779820392210c4309b1e719d (patch)
tree40f4cc89a9229c2a949c0f6ab6c96f47271383e1 /build.sh
parent042f769edb5b1a8162b5b7bac8f461106d561128 (diff)
Silence shellcheck warnings (#279)
* SC1091: the `config` file might not be present, which is normal. * SC2086: Double quote to prevent globbing and word splitting. Tested clean output using: `find -name "*.sh" -exec shellcheck -x {} \;`
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index c41a87f..084d5c6 100755
--- a/build.sh
+++ b/build.sh
@@ -203,8 +203,8 @@ if [[ ! "$FIRST_USER_NAME" =~ ^[a-z][-a-z0-9_]*$ ]]; then
exit 1
fi
-if [[ -n "${APT_PROXY}" ]] && ! curl --silent ${APT_PROXY} >/dev/null ; then
- echo "Could not reach APT_PROXY server:" ${APT_PROXY}
+if [[ -n "${APT_PROXY}" ]] && ! curl --silent "${APT_PROXY}" >/dev/null ; then
+ echo "Could not reach APT_PROXY server: ${APT_PROXY}"
exit 1
fi