Merge pull request #60 from yarikoptic/bf-misc-cped

tar treats Windows paths (D:\file.tar) as local files. Fixes #42
This commit is contained in:
Yaroslav Halchenko 2018-09-12 08:56:27 -04:00 committed by GitHub
commit 30716c1ea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -60,3 +60,5 @@ def add_tar_opts (cmdlist, compression, verbosity):
cmdlist.extend(['--use-compress-program', program]) cmdlist.extend(['--use-compress-program', program])
if verbosity > 1: if verbosity > 1:
cmdlist.append('--verbose') cmdlist.append('--verbose')
if progname == 'tar':
cmdlist.append('--force-local')