diff --git a/SSZipArchive/SSZipArchive.m b/SSZipArchive/SSZipArchive.m index a3fb7b2..1b9d073 100755 --- a/SSZipArchive/SSZipArchive.m +++ b/SSZipArchive/SSZipArchive.m @@ -272,16 +272,7 @@ strPath = [strPath stringByReplacingOccurrencesOfString:@"\\" withString:@"/"]; } - NSString *fullPath; - BOOL isDir = NO; - if([[NSFileManager defaultManager] - fileExistsAtPath:destination isDirectory:&isDir] && isDir){ - fullPath = [destination stringByAppendingPathComponent:strPath]; - } - else { - fullPath = destination; - } - + NSString *fullPath = [destination stringByAppendingPathComponent:strPath]; NSError *err = nil; NSDictionary *directoryAttr; if (preserveAttributes) {