瀏覽代碼

fix bash errors on rvm install

Hamilton Turner 11 年之前
父節點
當前提交
3ecf6f0cf3
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      toolset/setup/linux/languages/rvm.sh

+ 2 - 2
toolset/setup/linux/languages/rvm.sh

@@ -9,7 +9,7 @@ RETCODE=$(fw_exists rvm.installed)
 
 # Never run installation inside of TRAVIS, 
 # just rely on their default RVM installaton
-if [ "$TRAVIS" = "true" ] || { \
+[ "$TRAVIS" != "true" ] || { \
   source $HOME/.rvm/scripts/rvm
   touch rvm.installed
   return 0;
@@ -19,4 +19,4 @@ if [ "$TRAVIS" = "true" ] || { \
 \curl -sSL https://get.rvm.io | bash -s stable
 source $HOME/.rvm/scripts/rvm
 
-touch rvm.installed
+touch $IROOT/rvm.installed