[Tests] die() in tests should quote "$@" for echo

This commit is contained in:
Peter Dave Hello
2016-11-07 03:34:36 +08:00
committed by Jordan Harband
parent 24f8ae5c46
commit f7763c8ba9
135 changed files with 135 additions and 135 deletions

View File

@@ -6,7 +6,7 @@ mkdir -p "${NVM_DIR}/v0.0.2"
mkdir -p "${NVM_DIR}/v0.0.20"
mkdir -p "${NVM_DIR}/versions/node/v0.12.0"
die () { echo $@ ; exit 1; }
die () { echo "$@" ; exit 1; }
# The result should contain only the appropriate version numbers.