aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp b/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp
index 9a8cd5b7..78efd51c 100644
--- a/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp
+++ b/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp
@@ -135,6 +135,7 @@ void Backend::startExtract(QString path, bool overwrite, QStringList files){
if(!overwrite){ args << "-k"; }
args << flags;
for(int i=0; i<files.length(); i++){
+ if(files[i].simplified().isEmpty()){ continue; }
args << "--include" << files[i] << "--strip-components" << QString::number(files[i].count("/"));
}
args << "-C" << path;
bgstack15