Merge pull request #377 from koenpunt/remove-obscure-echo-test

Replaced echo for printf when using formatted strings
This commit is contained in:
Jordan Harband
2014-03-17 10:02:54 -07:00
2 changed files with 12 additions and 21 deletions

View File

@@ -3,4 +3,4 @@
die () { echo $@ ; exit 1; }
. ../../nvm.sh
[ `expr "$(nvm current)" : ".*current"` != 0 ] || die "Failed to find current version"
[ "$(nvm current)" == `node -v` ] || die "Failed to find current version"