diff options
author | Ken Moore <ken@ixsystems.com> | 2018-01-29 14:24:39 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-01-29 14:24:39 -0500 |
commit | 4cb92713a97042dadd0a2e168b78ef3a936a9442 (patch) | |
tree | ed6268f9b8fa2346edda8386a0846bc9e8752bf8 /src-qt5/desktop-utils/lumina-archiver | |
parent | Some more updates for Lumina 2: (diff) | |
parent | Some more final changes to lumina-pdf. (diff) | |
download | lumina-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.cpp | 5 |
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); |