Do not try to change directory when running Phan tests with no params
authorLeszek Manicki <leszek.manicki@wikimedia.de>
Tue, 3 Jan 2017 10:22:05 +0000 (11:22 +0100)
committerLeszek Manicki <leszek.manicki@wikimedia.de>
Tue, 3 Jan 2017 10:22:05 +0000 (11:22 +0100)
commit9b725917fdf54d208c7d12b289ec5183e2420889
treedf28b09c9ca2df922174bb8c6845623a226aaf4f
parentdaba6753d1f9b0b147c710e894eaf0dc397ac9c9
Do not try to change directory when running Phan tests with no params

When running tests with:
PHAN=/path/to/phan/phan /path/to/mediawiki-core/tests/phan/bin/phan
the script changes to the home dir (does "cd" with no param),
which results in git error message (unless the home dir happens
to be a git repository).

Change-Id: Ib11e419fb5cca51ceaed0e9c7c86ae9c5c4ae0f2
tests/phan/bin/phan