Permalink
Browse files

Merge pull request #271 from adevadeh/patch-1

split bunzip into 2 lines, the one-liner fails in RHEL4 for some reason.
  • Loading branch information...
2 parents 9ebaff6 + 1c13346 commit 1359cf516669c0e1f857728707c00183deea7b1a @wayneeseguin wayneeseguin committed May 20, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 scripts/manage
View
3 scripts/manage 100755 → 100644
@@ -1354,7 +1354,8 @@ __rvm_fetch_ruby()
fi
;;
tar.bz2)
- __rvm_run "extract" "bunzip2 < '${rvm_archives_path}/$rvm_ruby_package_file.$rvm_archive_extension' | tar xf - -C ${rvm_tmp_path:-/tmp}/rvm_src_$$" "$rvm_ruby_string - #extracting $rvm_ruby_package_file to ${rvm_src_path}/$rvm_ruby_string"
+ __rvm_run "extract" "bunzip2 '${rvm_archives_path}/$rvm_ruby_package_file.$rvm_archive_extension'"
+ __rvm_run "extract" "tar xf ${rvm_archives_path}/$rvm_ruby_package_file.tar -C ${rvm_tmp_path:-/tmp}/rvm_src_$$" "$rvm_ruby_string - #extracting $rvm_ruby_package_file to ${rvm_src_path}/$rvm_ruby_string"
result=$?
if (( result > 0 ))

0 comments on commit 1359cf5

Please sign in to comment.