fixupPrefix: Make the prefix writable first

This ensures that strip and other commands work correctly (since
sometimes the install phase will make the installed files read-only).
This commit is contained in:
Eelco Dolstra 2013-08-22 16:19:28 +02:00
parent ae6af5c03c
commit 1d11c1dc48

@ -776,6 +776,9 @@ fixupPrefix() {
if ! [ -d "$prefix" ]; then return; fi
# Make sure everything is writable so "strip" et al. work.
chmod -R u+w "$prefix"
# Put man/doc/info under share/.
forceShare=${forceShare:=man doc info}
if [ -n "$forceShare" ]; then