aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-15 00:28:58 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-15 00:28:58 +0000
commitd7d6605a1253e921706212096f4cc703399e84d6 (patch)
tree68fc0d4c9090b191147b6e4f8e65a32a38a228bb
parent8b0ee33c104deabbc7163c1985c2843a61ea3968 (diff)
downloadpaludis-d7d6605a1253e921706212096f4cc703399e84d6.tar.gz
paludis-d7d6605a1253e921706212096f4cc703399e84d6.tar.xz
Screw you tar
-rwxr-xr-xebuild/utils/dounpack12
1 files changed, 6 insertions, 6 deletions
diff --git a/ebuild/utils/dounpack b/ebuild/utils/dounpack
index fcb4842..e61f9ba 100755
--- a/ebuild/utils/dounpack
+++ b/ebuild/utils/dounpack
@@ -34,18 +34,18 @@ unpack_one()
case "${x}" in
*.tar)
- echo tar --no-same-owner xf "${1}" 1>&2
- tar --no-same-owner xf "${1}" || die "Couldn't unpack ${1}"
+ echo tar xf "${1}" --no-same-owner 1>&2
+ tar xf "${1}" --no-same-owner || die "Couldn't unpack ${1}"
;;
*.tar.gz|*.tgz|*.tar.Z)
- echo tar --no-same-owner zxf "${1}" 1>&2
- tar --no-same-owner zxf "${1}" || die "Couldn't unpack ${1}"
+ echo tar zxf "${1}" --no-same-owner 1>&2
+ tar zxf "${1}" --no-same-owner || die "Couldn't unpack ${1}"
;;
*.tar.bz2|*.tbz2)
- echo tar --no-same-owner jxf "${1}" 1>&2
- tar --no-same-owner jxf "${1}" || die "Couldn't unpack ${1}"
+ echo tar jxf "${1}" --no-same-owner 1>&2
+ tar jxf "${1}" --no-same-owner || die "Couldn't unpack ${1}"
;;
*.zip|*.ZIP|*.jar)