]> git.xonotic.org Git - xonotic/xonotic.git/commit
Instead of "cd .." hackery, find the path of ./all by looking at $0.
authorRudolf Polzer <divVerent@xonotic.org>
Mon, 24 Oct 2016 17:53:51 +0000 (13:53 -0400)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 24 Oct 2016 17:53:51 +0000 (13:53 -0400)
commit7cce522db16998cca1d914d6b81bb6e2de3a5240
treec307b716d2cbd1da17c266c7463763d94a303296
parentf3821392f55d027c2546f5fc0f71f70162c504c3
Instead of "cd .." hackery, find the path of ./all by looking at $0.

This only supports invoking ./all directly (not via $PATH or symlinks),
but should already be a lot better than before.
all