Handle sourceRoots with leading dashes

This commit is contained in:
Shea Levy 2018-02-15 11:50:24 -05:00
parent 79e7f7af9a
commit b24ce2ae63
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27

View File

@ -866,7 +866,7 @@ unpackPhase() {
# necessary when sources have been copied from other store
# locations.
if [ "${dontMakeSourcesWritable:-0}" != 1 ]; then
chmod -R u+w "$sourceRoot"
chmod -R u+w -- "$sourceRoot"
fi
runHook postUnpack