Make sure to refer to filenames when executing zip

Fixes #4015
This commit is contained in:
Francis Lachapelle
2017-02-01 11:56:44 -05:00
parent 15b277fa8e
commit b412788e39
+1 -1
View File
@@ -1028,7 +1028,7 @@ static BOOL debugSoParts = NO;
fileName = [NSString stringWithFormat:@"%@/%@", spoolPath, name];
[body writeToFile: fileName atomically: YES];
[zipTaskArguments addObject: name];
[zipTaskArguments addObject: [NSString stringWithFormat: @"./%@", name]];
}
// Zip files