Partially revert "Zip-O-Matic: fix zipping single folder."
This partially reverts commit d1d90b0462
.
The real culprit that was causing this issue is #12105, not the
zip/unzip upgrade as originally thought.
This commit is contained in:
parent
b5ab96b2eb
commit
1639fe99db
@ -95,7 +95,12 @@ ZipperThread::ThreadStartup()
|
||||
|
||||
BString archiveName;
|
||||
|
||||
if (gotDirRef || sameFolder) {
|
||||
if (gotDirRef) {
|
||||
BEntry entry(&dirRef);
|
||||
BPath path;
|
||||
entry.GetPath(&path);
|
||||
archiveName = path.Path();
|
||||
} else if (sameFolder) {
|
||||
BEntry entry(&lastRef);
|
||||
BPath path;
|
||||
entry.GetParent(&entry);
|
||||
|
Loading…
Reference in New Issue
Block a user