fixing shell variable references

pull/353/head
Shimin Guo 9 years ago
parent 46e7d6cbaa
commit 0d87e3463b

@ -21,7 +21,7 @@ DEFAULT_PLATFORM=$(uname | tr '[:upper:]' '[:lower:]')
DEFAULT_ARCH=$(uname -m) DEFAULT_ARCH=$(uname -m)
STORAGE_URL=http://get-dm.storage.googleapis.com STORAGE_URL=http://get-dm.storage.googleapis.com
ZIP=dm-${TAG:-DEFAULT_TAG}-${PLATFORM:-DEFAULT_PLATFORM}-${ARCH:-DEFAULT_ARCH}.zip ZIP=dm-${TAG:-${DEFAULT_TAG}}-${PLATFORM:-${DEFAULT_PLATFORM}}-${ARCH:-${DEFAULT_ARCH}}.zip
echo "Downloading ${ZIP}..." echo "Downloading ${ZIP}..."
curl -Ls "${STORAGE_URL}/${ZIP}" -O curl -Ls "${STORAGE_URL}/${ZIP}" -O

Loading…
Cancel
Save