Merge pull request #353 from guoshimin/shell-vars

fixing shell variable references
pull/361/head
Jack Greenfield 9 years ago
commit a255a8c6cb

@ -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