diff options
author | rautenberg <rautenberg@in-silico.ch> | 2012-03-13 12:13:23 +0100 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2012-03-13 12:13:23 +0100 |
commit | 65b517dd4494d730bf5602bd070a59d0044efe5b (patch) | |
tree | 7443c67b2813a9f04483ba8c59f0fd8c2a798923 /ruby.sh | |
parent | fe3e3f88762df7cc57df76fe4d2a10602a3daa73 (diff) | |
parent | 803ae809cc5092e082ee527dac6eb25c1a63dcf3 (diff) |
Merge branch 'release/v3.1.0'v3.1.0
Diffstat (limited to 'ruby.sh')
-rwxr-xr-x | ruby.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -21,7 +21,7 @@ if [ ! -e "$WGET" ]; then fi # Pkg -LOG="/tmp/`basename $0`-log.txt" +LOG="$HOME/tmp/`basename $0`-log.txt" echo echo "Ruby Enterprise edition ('$RUBY_DEST', '$LOG')." @@ -38,13 +38,13 @@ else fi if [ ! $RUBY_DONE ]; then - cd /tmp + cd $HOME/tmp URI="http://rubyenterpriseedition.googlecode.com/files/$RUBY_VER.tar.gz" - if ! [ -d "/tmp/$RUBY_VER" ]; then + if ! [ -d "$HOME/tmp/$RUBY_VER" ]; then cmd="$WGET $URI" && run_cmd "$cmd" "Download" cmd="tar xzf $RUBY_VER.tar.gz" && run_cmd "$cmd" "Unpack" fi - cmd="sh /tmp/$RUBY_VER/installer --dont-install-useful-gems --no-dev-docs --auto=$RUBY_DEST" && run_cmd "$cmd" "Install" + cmd="sh $HOME/tmp/$RUBY_VER/installer --dont-install-useful-gems --no-dev-docs --auto=$RUBY_DEST" && run_cmd "$cmd" "Install" fi |