aboutsummaryrefslogtreecommitdiff
path: root/paludis/syncers/dotar.in
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/syncers/dotar.in')
-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 f29252083..f6843b4c4 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}"