projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0657c0
)
Provide a default value for PORTAGE_BINPKG_TMPFILE in case the package phase is calle...
author
Zac Medico
<zmedico@gentoo.org>
Sun, 24 Jun 2007 06:40:36 +0000
(06:40 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 24 Jun 2007 06:40:36 +0000
(06:40 -0000)
svn path=/main/trunk/; revision=6985
bin/misc-functions.sh
patch
|
blob
|
history
diff --git
a/bin/misc-functions.sh
b/bin/misc-functions.sh
index de349e029955642a114f163a449fc1141d0c0264..1c469787590a920fde225a17a3469c2a34dd1170 100755
(executable)
--- a/
bin/misc-functions.sh
+++ b/
bin/misc-functions.sh
@@
-501,6
+501,8
@@
dyn_package() {
# Sandbox is disabled in case the user wants to use a symlink
# for $PKGDIR and/or $PKGDIR/All.
export SANDBOX_ON="0"
+ [ -z "${PORTAGE_BINPKG_TMPFILE}" ] && \
+ PORTAGE_BINPKG_TMPFILE="${PKGDIR}/${CATEGORY}/${PVR}.tbz2"
mkdir -p "${PORTAGE_BINPKG_TMPFILE%/*}" || die "mkdir failed"
tar ${tar_options} -cf - . | bzip2 -f > "${PORTAGE_BINPKG_TMPFILE}" || \
die "Failed to create tarball"