mirror of
https://github.com/timsutton/brigadier.git
synced 2024-09-19 11:18:44 -04:00
Merge pull request #32 from makusu2/master
Support for System32 subdirectories
This commit is contained in:
commit
06e23d3a93
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ according to the post date.")
|
||||||
output_dir = opts.output_dir
|
output_dir = opts.output_dir
|
||||||
else:
|
else:
|
||||||
output_dir = os.getcwd()
|
output_dir = os.getcwd()
|
||||||
if output_dir.endswith('ystem32'):
|
if output_dir.endswith('ystem32') or '\\system32\\' in output_dir.lower():
|
||||||
output_dir = os.environ['SystemDrive'] + "\\"
|
output_dir = os.environ['SystemDrive'] + "\\"
|
||||||
status("Changing output directory to %s to work around an issue \
|
status("Changing output directory to %s to work around an issue \
|
||||||
when running the installer out of 'system32'." % output_dir)
|
when running the installer out of 'system32'." % output_dir)
|
||||||
|
|
Loading…
Reference in a new issue