bootstrap: chdir to bootstrap's directory
authorBrandon Philips <brandon@ifup.org>
Sun, 10 Jun 2012 01:38:50 +0000 (18:38 -0700)
committerBrandon Philips <brandon@ifup.org>
Sun, 10 Jun 2012 01:38:50 +0000 (18:38 -0700)
commit9cd14a0ce0376e79a742fc59412136e5b460f558
tree8a7e2d8053d75ab1f4b715e0600bfde8c67c5755
parent62d3b116bb93360bc13600e2ab972504a958d476
bootstrap: chdir to bootstrap's directory

When integrating ninja into luvit I naively tried calling:

    ./tools/ninja/bootstrap.py

This broke because bootstrap expects you to be in the ninja directory
when you call it. This patch makes it possible to run bootstrap.py like
above and have it work.
bootstrap.py