aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2013-03-24 18:57:49 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2013-03-24 18:57:49 +0000
commit97a8c5f8b2e000f8f5997e09d5463bea66ea9ee5 (patch)
tree4e5e436770f4018b4c11eb43b71934841480c650
parent7381ca6e8b23064a2ff72e88becc8323db2e38d3 (diff)
downloadpaludis-97a8c5f8b2e000f8f5997e09d5463bea66ea9ee5.tar.gz
paludis-97a8c5f8b2e000f8f5997e09d5463bea66ea9ee5.tar.xz
Set PATH so strip_tar_corruption is available
Fixes: ticket:1264
-rw-r--r--paludis/syncers/dotar.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/syncers/dotar.in b/paludis/syncers/dotar.in
index f292520..f6843b4 100644
--- a/paludis/syncers/dotar.in
+++ b/paludis/syncers/dotar.in
@@ -178,8 +178,8 @@ mkdir "${UNPACKDIR}"
export PALUDIS_UNPACK_SUFFIXES="tar tar.gz,tgz,tar.Z tar.bz2,tbz2,tbz zip,ZIP,jar rar,RAR lha,LHa,LHA,lzh a,deb tar.lzma 7z,7Z tar.xz"
export PALUDIS_UNPACK_UNRECOGNISED_IS_FATAL=yes
export PALUDIS_UNPACK_FIX_PERMISSIONS=
-( cd "${UNPACKDIR}" && "${PALUDIS_EBUILD_DIR}/utils/unpack" \
- "${UNPACK_OPTIONS[@]}" "${TEMP}/${TARFILE}" ) || cleanup_and_exit $?
+export PATH="${PALUDIS_EBUILD_DIR}/utils:${PATH}"
+( cd "${UNPACKDIR}" && unpack "${UNPACK_OPTIONS[@]}" "${TEMP}/${TARFILE}" ) || cleanup_and_exit $?
rm "${TEMP}/${TARFILE}"