diff options
author | Evan Martin <martine@danga.com> | 2012-06-10 07:45:59 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-06-10 07:45:59 (GMT) |
commit | 4d061ac8ec9e3fe41b1d83d7b50f4b8e921d4535 (patch) | |
tree | 8a7e2d8053d75ab1f4b715e0600bfde8c67c5755 | |
parent | 62d3b116bb93360bc13600e2ab972504a958d476 (diff) | |
parent | 9cd14a0ce0376e79a742fc59412136e5b460f558 (diff) | |
download | Ninja-4d061ac8ec9e3fe41b1d83d7b50f4b8e921d4535.zip Ninja-4d061ac8ec9e3fe41b1d83d7b50f4b8e921d4535.tar.gz Ninja-4d061ac8ec9e3fe41b1d83d7b50f4b8e921d4535.tar.bz2 |
Merge pull request #323 from luvit/bootstrap-from-cwd
bootstrap: chdir to bootstrap's directory
-rwxr-xr-x | bootstrap.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap.py b/bootstrap.py index ad6f1eb..f178bda 100755 --- a/bootstrap.py +++ b/bootstrap.py @@ -21,6 +21,8 @@ import errno import shlex import subprocess +os.chdir(os.path.dirname(sys.argv[0])) + parser = OptionParser() parser.add_option('--verbose', action='store_true', help='enable verbose build',) |