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:
parent
ae6af5c03c
commit
1d11c1dc48
|
@ -776,6 +776,9 @@ fixupPrefix() {
|
||||||
|
|
||||||
if ! [ -d "$prefix" ]; then return; fi
|
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/.
|
# Put man/doc/info under share/.
|
||||||
forceShare=${forceShare:=man doc info}
|
forceShare=${forceShare:=man doc info}
|
||||||
if [ -n "$forceShare" ]; then
|
if [ -n "$forceShare" ]; then
|
||||||
|
|
Loading…
Reference in New Issue