fixupPhase: Handle the case where $prefix doesn't exist

http://hydra.nixos.org/build/8149154
This commit is contained in:
Eelco Dolstra 2014-01-17 12:41:08 +01:00
parent 86afcccecb
commit 48f87d5d2a

View file

@ -733,7 +733,7 @@ fixupPhase() {
runHook preFixup
# 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.
forceShare=${forceShare:=man doc info}