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