Use PF in dyn_package. Thanks to swegener.
authorZac Medico <zmedico@gentoo.org>
Tue, 17 Jul 2007 19:26:05 +0000 (19:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 17 Jul 2007 19:26:05 +0000 (19:26 -0000)
svn path=/main/trunk/; revision=7300

bin/misc-functions.sh

index 1c469787590a920fde225a17a3469c2a34dd1170..91c3cb4c8dc3a29b8d1dd6b536c7e00b2b726ba7 100755 (executable)
@@ -502,7 +502,7 @@ dyn_package() {
        # for $PKGDIR and/or $PKGDIR/All.
        export SANDBOX_ON="0"
        [ -z "${PORTAGE_BINPKG_TMPFILE}" ] && \
-               PORTAGE_BINPKG_TMPFILE="${PKGDIR}/${CATEGORY}/${PVR}.tbz2"
+               PORTAGE_BINPKG_TMPFILE="${PKGDIR}/${CATEGORY}/${PF}.tbz2"
        mkdir -p "${PORTAGE_BINPKG_TMPFILE%/*}" || die "mkdir failed"
        tar ${tar_options} -cf - . | bzip2 -f > "${PORTAGE_BINPKG_TMPFILE}" || \
                die "Failed to create tarball"