fixupPhase: Fix making the outputs writable

This commit is contained in:
Eelco Dolstra 2014-07-08 14:15:44 +02:00
parent 11dc9036d0
commit 2db867eec9

View File

@ -696,7 +696,7 @@ installPhase() {
fixupPhase() {
# Make sure everything is writable so "strip" et al. work.
for output in $outputs; do
if [ -e "$output" ]; then chmod -R u+w "$output"; fi
if [ -e "${!output}" ]; then chmod -R u+w "${!output}"; fi
done
runHook preFixup