script bug fix

This commit is contained in:
Ari Lazier 2016-02-08 11:30:40 -08:00
parent c5a7e4ac30
commit e8d472a2e8
1 changed files with 2 additions and 2 deletions

View File

@ -97,11 +97,11 @@ case "$TARGET" in
;; ;;
"react-tests-android") "react-tests-android")
if [[ $CONFIGURATION == 'Debug' ]]; then if [[ $CONFIGURATION == 'Debug' ]]; then
exit 0; exit 0
fi fi
[ -s "${HOME}/.nvm/nvm.sh" ] && . "${HOME}/.nvm/nvm.sh" [ -s "${HOME}/.nvm/nvm.sh" ] && . "${HOME}/.nvm/nvm.sh"
if [[ $TARGET != *-android ]]; then if [[ $TARGET == *-android ]]; then
type npm >/dev/null 2>&1 && nvm use 5.4.0 type npm >/dev/null 2>&1 && nvm use 5.4.0
fi fi