Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bootstrap: fix path magic on windows

It was reported that argv[0] doesn't get set on windows. Some research
showed that using abspath(__filename__) should accomplish this.
  • Loading branch information...
commit b191336180dd94594809b733297ba6ed2c84ec2a 1 parent 9cd14a0
Brandon Philips authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bootstrap.py
View
2  bootstrap.py
@@ -21,7 +21,7 @@
import shlex
import subprocess
-os.chdir(os.path.dirname(sys.argv[0]))
+os.chdir(os.path.dirname(os.path.abspath(__file__)))
parser = OptionParser()
parser.add_option('--verbose', action='store_true',
Please sign in to comment.
Something went wrong with that request. Please try again.