summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-06-01 19:45:37 -0700
committerZac Medico <zmedico@gentoo.org>2012-06-01 19:45:37 -0700
commit27d7b258d23069f874ad8eceb35f58829cee85f3 (patch)
tree8d985d884cdcd58cbb6520f4f1fa043b10674fce /bin/ebuild-helpers
parentbbacf8674168cf033de0ccb161f568d0b26f032b (diff)
downloadportage-27d7b258d23069f874ad8eceb35f58829cee85f3.tar.gz
portage-27d7b258d23069f874ad8eceb35f58829cee85f3.tar.bz2
portage-27d7b258d23069f874ad8eceb35f58829cee85f3.zip
ecompressdir: avoid ecompress.break interference
Diffstat (limited to 'bin/ebuild-helpers')
-rwxr-xr-xbin/ebuild-helpers/ecompressdir6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ebuild-helpers/ecompressdir b/bin/ebuild-helpers/ecompressdir
index f39f883f3..c77d9982a 100755
--- a/bin/ebuild-helpers/ecompressdir
+++ b/bin/ebuild-helpers/ecompressdir
@@ -164,13 +164,13 @@ for dir in "$@" ; do
: $(( ret |= $? ))
done
+ multijob_finish
+ : $(( ret |= $? ))
+
# forcibly break all hard links as some compressors whine about it
find "${dir}" -type f -links +1 -exec env file="{}" sh -c \
'cp -p "${file}" "${file}.ecompress.break" ; mv -f "${file}.ecompress.break" "${file}"' \;
- multijob_finish
- : $(( ret |= $? ))
-
# now lets do our work
if [[ -n ${suffix} ]] ; then
vecho "${0##*/}: $(ecompress --bin) /${actual_dir#${ED}}"