diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-28 05:45:45 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-28 05:45:45 +0000 |
commit | 22b98993ac42a3adcd2a37aa13ac7a2502bc0c60 (patch) | |
tree | 6aecf5472ccefdbdcb0cbd262bfcbbbbf54d4567 /bin/misc-functions.sh | |
parent | eb198446fc0952c802e22f1c1c086fe08fd1e8e0 (diff) | |
download | portage-22b98993ac42a3adcd2a37aa13ac7a2502bc0c60.tar.gz portage-22b98993ac42a3adcd2a37aa13ac7a2502bc0c60.tar.bz2 portage-22b98993ac42a3adcd2a37aa13ac7a2502bc0c60.zip |
Bug #214619 - Add support for a PORTAGE_BINPKG_TAR_OPTS variable that
allows the user to specify tar command options for binary package
creation.
svn path=/main/trunk/; revision=9528
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-x | bin/misc-functions.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 6dbb75e09..9138d60a2 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -561,7 +561,8 @@ dyn_package() { [ -z "${PORTAGE_BINPKG_TMPFILE}" ] && \ PORTAGE_BINPKG_TMPFILE="${PKGDIR}/${CATEGORY}/${PF}.tbz2" mkdir -p "${PORTAGE_BINPKG_TMPFILE%/*}" || die "mkdir failed" - tar ${tar_options} -cf - . | bzip2 -f > "${PORTAGE_BINPKG_TMPFILE}" || \ + tar $tar_options -cf - $PORTAGE_BINPKG_TAR_OPTS . | \ + bzip2 -f > "$PORTAGE_BINPKG_TMPFILE" || \ die "Failed to create tarball" cd .. export PYTHONPATH="${PORTAGE_PYM_PATH:-/usr/lib/portage/pym}:${PYTHONPATH}" |