diff options
-rw-r--r-- | ick2/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ick2/actions.py b/ick2/actions.py index 7c968c9..c04aa4e 100644 --- a/ick2/actions.py +++ b/ick2/actions.py @@ -285,7 +285,7 @@ class ArchiveWorkspaceAction(Action): # pragma: no cover self._env.report(None, 'Creating tarball from workspace\n') fd, tarball = tempfile.mkstemp() os.close(fd) - tar = ['sudo', 'tar', '-zcf', tarball, '-C', dirname, '.'] + tar = ['sudo', 'tar', '-zcf', tarball, '-C', dirname] + names exit_code = self._env.host_runcmd(tar) if exit_code != 0: self._env.report(exit_code, 'tarball generation finished\n') |