Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix handling tgz packages

  • Loading branch information...
commit 8330d6cfb5c1662cbf60570bb5bc1dd332410d12 1 parent c62b8aa
@mpapis mpapis authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/functions/utility
View
6 scripts/functions/utility
@@ -743,7 +743,7 @@ __rvm_package_list()
*.tar.bz2)
${rvm_tar_command:-tar} tjf "$1"
;;
- *.tar.gz|list-*.tgz)
+ *.tar.gz|*.tgz)
${rvm_tar_command:-tar} tzf "$1"
;;
*)
@@ -764,7 +764,7 @@ __rvm_package_extract()
*.tar.bz2)
${rvm_tar_command:-tar} xjf "$1" -C "$2" ${rvm_tar_options:-}
;;
- *.tar.gz|extract-*.tgz)
+ *.tar.gz|*.tgz)
${rvm_tar_command:-tar} xzf "$1" -C "$2" ${rvm_tar_options:-}
;;
*)
@@ -784,7 +784,7 @@ __rvm_package_create()
else ${rvm_tar_command:-tar} cjf "$1" -C "$2" "$3"
fi
;;
- *.tar.gz|create-*.tgz)
+ *.tar.gz|*.tgz)
if [[ -z "${3:-}" ]]
then ${rvm_tar_command:-tar} czf "$1" "$2"
else ${rvm_tar_command:-tar} czf "$1" -C "$2" "$3"
Please sign in to comment.
Something went wrong with that request. Please try again.