1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2025-10-12 12:06:20 +08:00

Double == causes error on travis (dash shell)

This commit is contained in:
Koen Punt 2014-03-17 19:44:40 +01:00
parent 4f9324c439
commit ae4c841742

View File

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