diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-10-02 00:09:31 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-10-03 10:03:33 -0700 |
commit | b7baeeec3ab6d1e944a2d1f9ab5d4d6ccebd97e8 (patch) | |
tree | 559a3f5241b282ac9d0a5c2e0c4d0daab904e8a6 /bin/phase-helpers.sh | |
parent | checksum._open_file: fix BytesWarning (diff) | |
download | portage-b7baeeec3ab6d1e944a2d1f9ab5d4d6ccebd97e8.tar.gz portage-b7baeeec3ab6d1e944a2d1f9ab5d4d6ccebd97e8.tar.bz2 portage-b7baeeec3ab6d1e944a2d1f9ab5d4d6ccebd97e8.zip |
unpack: use chmod-lite helper for bug 554084
Use the apply_recursive_permissions function to minimize the number of
chmod calls.
Also, fix an UnboundLocalError triggered in portage.data._get_global
by chmod-lite.
X-Gentoo-Bug: 554084
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=554084
Acked-by: Brian Dolbec <dolsen@gentoo.org>
Diffstat (limited to 'bin/phase-helpers.sh')
-rw-r--r-- | bin/phase-helpers.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index efd2cfa58..0c25ffe2d 100644 --- a/bin/phase-helpers.sh +++ b/bin/phase-helpers.sh @@ -532,7 +532,7 @@ unpack() { # Do not chmod '.' since it's probably ${WORKDIR} and PORTAGE_WORKDIR_MODE # should be preserved. find . -mindepth 1 -maxdepth 1 ! -type l -print0 | \ - ${XARGS} -0 chmod -fR a+rX,u+w,g-w,o-w + ${XARGS} -0 "${PORTAGE_BIN_PATH}/chmod-lite" } econf() { |