* 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
|
@ -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 New Issue