Merge pull request #65 from nibroc/master

Added check to ensure permissions are not explicitly set if they do not exist in the zip
This commit is contained in:
Sam Soffes
2013-07-10 17:50:20 -07:00
+2 -4
View File
@@ -205,10 +205,8 @@
}
// Set the original permissions on the file
if (fileInfo.external_fa != 0) {
// Get the permissions
uLong permissions = fileInfo.external_fa >> 16;
uLong permissions = fileInfo.external_fa >> 16;
if (permissions != 0) {
// Store it into a NSNumber
NSNumber *permissionsValue = @(permissions);