From: Zac Medico Date: Thu, 6 Aug 2009 19:06:12 +0000 (-0000) Subject: Bug #277544 - Add missing -c switch in bzip2 arguments. Thanks to Michał Górny X-Git-Tag: v2.2_rc37~32 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=40f1487f31cac149c4260117fd1c4d312120abf0;p=portage.git Bug #277544 - Add missing -c switch in bzip2 arguments. Thanks to Michał Górny for the patch. svn path=/main/trunk/; revision=13934 --- 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')"