* Do the right thing if $sourceRoot contains spaces. Contributed by

Jeevakan Suresh.

svn path=/nixpkgs/branches/stdenv-updates/; revision=13287
This commit is contained in:
Eelco Dolstra 2008-11-14 10:22:15 +00:00
parent 28b96c18c7
commit 903ca0fc40

View file

@ -517,7 +517,7 @@ unpackPhase() {
echo "unpacker produced multiple directories"
exit 1
fi
sourceRoot=$i
sourceRoot="$i"
;;
esac
fi
@ -535,7 +535,7 @@ unpackPhase() {
# necessary when sources have been copied from other store
# locations.
if test "dontMakeSourcesWritable" != 1; then
chmod -R u+w $sourceRoot
chmod -R u+w "$sourceRoot"
fi
eval "$postUnpack"