*: fix shellcheck warnings

Fixes scripts and removes shellcheck warning suppressions.

* regexp warnings
* use ./*glob* so names don't become options
* use $(..) instead of legacy `..`
* read with -r to avoid mangling backslashes
* double quote to prevent globbing and word splitting
This commit is contained in:
Anthony Romano
2017-09-06 10:38:08 -07:00
parent 3c1845604b
commit 9abe9da9db
10 changed files with 149 additions and 147 deletions

View File

@@ -15,7 +15,7 @@ if [ ${ARCH} == "darwin" ]; then
fi
echo "Installing marker"
curl -L ${MARKER_URL} -o ${GOPATH}/bin/marker
chmod 755 ${GOPATH}/bin/marker
curl -L "${MARKER_URL}" -o "${GOPATH}"/bin/marker
chmod 755 "${GOPATH}"/bin/marker
${GOPATH}/bin/marker --version
"${GOPATH}"/bin/marker --version