We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7745e99 commit 044568cCopy full SHA for 044568c
tools/get.py
@@ -58,7 +58,7 @@ def unpack(filename, destination):
58
raise NotImplementedError('Unsupported archive type')
59
60
# a little trick to rename tool directories so they don't contain version number
61
- rename_to = re.match(r'^([a-z][^\-]*\-*)+', dirname).group(0).strip('-')
+ rename_to = re.match(r'^([a-zA-Z_][^\-]*\-*)+', dirname).group(0).strip('-')
62
if rename_to != dirname:
63
print('Renaming {0} to {1}'.format(dirname, rename_to))
64
if os.path.isdir(rename_to):
0 commit comments