diff options
author | Hugo Hromic <[email protected]> | 2019-04-25 10:11:57 +0100 |
---|---|---|
committer | XECDesign <[email protected]> | 2019-04-25 10:11:57 +0100 |
commit | 407663a57f380bdd779820392210c4309b1e719d (patch) | |
tree | 40f4cc89a9229c2a949c0f6ab6c96f47271383e1 /build.sh | |
parent | 042f769edb5b1a8162b5b7bac8f461106d561128 (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-x | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |