Use source instead of .
This commit is contained in:
parent
04a6ad3bb5
commit
090b884481
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ case "$SWIGLANG" in
|
||||||
"node")
|
"node")
|
||||||
$RETRY wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.10/install.sh | bash
|
$RETRY wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.10/install.sh | bash
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
[ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh"
|
||||||
$RETRY nvm install ${VER}
|
$RETRY nvm install ${VER}
|
||||||
nvm use ${VER}
|
nvm use ${VER}
|
||||||
if [ "$VER" == "0.10" ] || [ "$VER" == "0.12" ] || [ "$VER" == "4" ] || [ "$VER" == "6" ] ; then
|
if [ "$VER" == "0.10" ] || [ "$VER" == "0.12" ] || [ "$VER" == "4" ] || [ "$VER" == "6" ] ; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue