Merge pull request #137045 from Artturin/fetchzipw

fetchzip: recursively run chmod +w on the unpackDir
This commit is contained in:
Artturi 2021-09-13 21:16:05 +03:00 committed by GitHub
commit dddf775e4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,7 @@ in {
renamed="$TMPDIR/${tmpFilename}"
mv "$downloadedFile" "$renamed"
unpackFile "$renamed"
chmod -R +w "$unpackDir"
''
+ (if stripRoot then ''
if [ $(ls "$unpackDir" | wc -l) != 1 ]; then