Skip to content

Commit

Permalink
Improve —wildcard detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Kronuz authored Oct 26, 2018
1 parent bfdbd14 commit 790fedd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mech/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def tar_cmd(*args, **kwargs):
return None
stdoutdata, stderrdata = map(b2s, proc.communicate())
tar = ['tar']
if kwargs.get('wildcards') and re.search(r'--wildcards', stdoutdata):
if kwargs.get('wildcards') and re.search(r'--wildcards\b', stdoutdata):
tar.append('--wildcards')
if kwargs.get('fast_read') and sys.platform.startswith('darwin'):
tar.append('--fast-read')
Expand Down

0 comments on commit 790fedd

Please sign in to comment.