fixupPhase: Handle the case where $prefix doesn't exist
http://hydra.nixos.org/build/8149154
This commit is contained in:
parent
86afcccecb
commit
48f87d5d2a
@ -733,7 +733,7 @@ fixupPhase() {
|
|||||||
runHook preFixup
|
runHook preFixup
|
||||||
|
|
||||||
# Make sure everything is writable so "strip" et al. work.
|
# Make sure everything is writable so "strip" et al. work.
|
||||||
chmod -R u+w "$prefix"
|
if [ -e "$prefix" ]; then chmod -R u+w "$prefix"; fi
|
||||||
|
|
||||||
# Put man/doc/info under $out/share.
|
# Put man/doc/info under $out/share.
|
||||||
forceShare=${forceShare:=man doc info}
|
forceShare=${forceShare:=man doc info}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user