diff options
author | ist <ist@ISTdebian64.(none)> | 2012-08-07 10:09:55 +0200 |
---|---|---|
committer | ist <ist@ISTdebian64.(none)> | 2012-08-07 10:09:55 +0200 |
commit | b62e242752adc914bab4535655c0756b300e2a25 (patch) | |
tree | a751e7ae6e9b3d2bb00558ea67e4dc64465b0776 /utils.sh | |
parent | 912c1cafced44cf97e3fb310657a2fae1625a875 (diff) |
Minor changes.
Diffstat (limited to 'utils.sh')
-rwxr-xr-x | utils.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,10 +71,10 @@ check_utils() { install_ruby() { printf "\n%50s\n" "RUBY" local DIR=`pwd` - check_utils "rbenv curl make" + check_utils "rbenv curl make tar" if ! $RBENV versions $RUBY_NUM_VER | grep $RUBY_NUM_VER>/dev/null 2>&1; then [ -d $DIR/tmp ] || mkdir -p $DIR/tmp && cd $DIR/tmp - ([ -d $DIR/tmp/ruby-$RUBY_NUM_VER ] || $CURL $RUBY_DWL/ruby-$RUBY_NUM_VER.tar.gz 2>/dev/null | tar xz) && cd ruby-$RUBY_NUM_VER + ([ -d $DIR/tmp/ruby-$RUBY_NUM_VER ] || $CURL $RUBY_DWL/ruby-$RUBY_NUM_VER.tar.gz 2>/dev/null | $TAR xz) && cd ruby-$RUBY_NUM_VER cmd="./configure --prefix=$RUBY_DIR" && run_cmd "$cmd" "Configure" cmd="$MAKE -j2" && run_cmd "$cmd" "Make" cmd="$MAKE install" && run_cmd "$cmd" "Install" |