Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix handling tgz packages, fix #1463

  • Loading branch information...
commit a5aefa7c158df42af403720d112842b32214598b 1 parent 1ea8c0d
@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.