summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-06 19:06:12 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-06 19:06:12 +0000
commit40f1487f31cac149c4260117fd1c4d312120abf0 (patch)
tree9a9c8cdc3bdebee8fb41406e00c6a9da1dc9e92e
parentee7e8b193dccd31c6f0d5bb45dfe0acaa2817f3b (diff)
downloadportage-40f1487f31cac149c4260117fd1c4d312120abf0.tar.gz
portage-40f1487f31cac149c4260117fd1c4d312120abf0.tar.bz2
portage-40f1487f31cac149c4260117fd1c4d312120abf0.zip
Bug #277544 - Add missing -c switch in bzip2 arguments. Thanks to Michał Górny
<gentoo@mgorny.alt.pl> for the patch. svn path=/main/trunk/; revision=13934
-rwxr-xr-xbin/misc-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 7ca9129c4..6ed4a7a42 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -651,7 +651,7 @@ dyn_package() {
PORTAGE_BINPKG_TMPFILE="${PKGDIR}/${CATEGORY}/${PF}.tbz2"
mkdir -p "${PORTAGE_BINPKG_TMPFILE%/*}" || die "mkdir failed"
tar $tar_options -cf - $PORTAGE_BINPKG_TAR_OPTS -C "${D}" . | \
- bzip2 -f > "$PORTAGE_BINPKG_TMPFILE"
+ bzip2 -cf > "$PORTAGE_BINPKG_TMPFILE"
assert "failed to pack binary package: '$PORTAGE_BINPKG_TMPFILE'"
PYTHONPATH=${PORTAGE_PYM_PATH}${PYTHONPATH:+:}${PYTHONPATH} \
python -c "from portage import xpak; t=xpak.tbz2('${PORTAGE_BINPKG_TMPFILE}'); t.recompose('${PORTAGE_BUILDDIR}/build-info')"