Skip to content
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...
1 parent 9cd14a0 commit b191336180dd94594809b733297ba6ed2c84ec2a Brandon Philips committed
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',

0 comments on commit b191336

Please sign in to comment.
Something went wrong with that request. Please try again.