mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
* 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:
parent
28b96c18c7
commit
903ca0fc40
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue