aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-archiver
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-01-29 14:24:39 -0500
committerKen Moore <ken@ixsystems.com>2018-01-29 14:24:39 -0500
commit4cb92713a97042dadd0a2e168b78ef3a936a9442 (patch)
treeed6268f9b8fa2346edda8386a0846bc9e8752bf8 /src-qt5/desktop-utils/lumina-archiver
parentSome more updates for Lumina 2: (diff)
parentSome more final changes to lumina-pdf. (diff)
downloadlumina-4cb92713a97042dadd0a2e168b78ef3a936a9442.tar.gz
lumina-4cb92713a97042dadd0a2e168b78ef3a936a9442.tar.bz2
lumina-4cb92713a97042dadd0a2e168b78ef3a936a9442.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-archiver')
-rw-r--r--src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp b/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp
index 91e233d0..714cfe45 100644
--- a/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp
+++ b/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp
@@ -114,7 +114,10 @@ void Backend::startAdd(QStringList paths, bool absolutePaths){
paths[i] = paths[i].section(parent,1,-1);
if(paths[i].startsWith("/")){ paths[i].remove(0,1); }
}
- args << "-C" << parent; }
+ args << "-C" << parent;
+ }else{
+ args << "-C" << "/";
+ }
args << paths;
if(QFile::exists(filepath)){ //append to existing
args.replaceInStrings(filepath, tmpfilepath);
bgstack15