* 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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user