diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-06-01 19:45:37 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-06-01 19:45:37 -0700 |
commit | 27d7b258d23069f874ad8eceb35f58829cee85f3 (patch) | |
tree | 8d985d884cdcd58cbb6520f4f1fa043b10674fce | |
parent | bbacf8674168cf033de0ccb161f568d0b26f032b (diff) | |
download | portage-27d7b258d23069f874ad8eceb35f58829cee85f3.tar.gz portage-27d7b258d23069f874ad8eceb35f58829cee85f3.tar.bz2 portage-27d7b258d23069f874ad8eceb35f58829cee85f3.zip |
ecompressdir: avoid ecompress.break interference
-rwxr-xr-x | bin/ebuild-helpers/ecompressdir | 6 |
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}}" |