Check that file is executable in Installer::locateExecutable
commit873def9a99386db0adb78438774855955b0d9f74
authorOri Livneh <ori@wikimedia.org>
Wed, 1 Jun 2016 17:42:34 +0000 (1 10:42 -0700)
committerOri Livneh <ori@wikimedia.org>
Wed, 1 Jun 2016 17:44:22 +0000 (1 10:44 -0700)
treefae314c4e890447a4ef97809c5f3c34fe6aa5f85
parent9ec4072d835fd971bd0416c1a790b5a29f520abb
Check that file is executable in Installer::locateExecutable

Just because the file exists doesn't mean that we can run.
Use is_executable(), a one-shot check for both existence and executability.

Change-Id: I705010b01cd3a17c3950eebae3066d7b007f706e
includes/installer/Installer.php