From 645bda4987be74a0aa2bc10c26e932a5d3b08a45 Mon Sep 17 00:00:00 2001 From: Matthew Campbell Date: Fri, 1 Jan 2016 14:09:35 -0500 Subject: [PATCH] Addresses comments to close #833 --- test/install_script/nvm_detect_profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/install_script/nvm_detect_profile b/test/install_script/nvm_detect_profile index 4ec8e43..e25572e 100755 --- a/test/install_script/nvm_detect_profile +++ b/test/install_script/nvm_detect_profile @@ -32,7 +32,7 @@ _PROFILE=$(nvm_detect_profile) die "nvm_detect_profile didn't pick $SHELL and $HOME/.bashrc" ) # But $PROFILE should override -PROFILE=test_profile +_PROFILE="$(PROFILE=test_profile nvm_detect_profile)" _PROFILE=$(nvm_detect_profile) [ "_$_PROFILE" = "_$PROFILE" ] || ( echo "_\$_PROFILE: _$_PROFILE" && echo "_\$PROFILE: _$PROFILE" && @@ -50,7 +50,7 @@ _PROFILE=$(nvm_detect_profile) die "nvm_detect_profile didn't pick $SHELL and $HOME/.zshrc" ) # But $PROFILE should override -PROFILE=test_profile +_PROFILE="$(PROFILE=test_profile nvm_detect_profile)" _PROFILE=$(nvm_detect_profile) [ "_$_PROFILE" = "_$PROFILE" ] || ( echo "_\$_PROFILE: _$_PROFILE" && echo "_\$PROFILE: _$PROFILE" &&