mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
*: 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user