Skip to content

Commit 00234b8

Browse files
authored
Change the executable to allow different paths
For me PHP is installed in `/usr/bin/php` not `/usr/local/bin/php` * https://thomashunter.name/blog/creating-self-executable-php-scripts/
1 parent bd5d87c commit 00234b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sourcetree-merge-request-opener

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/bin/php
1+
#!/usr/bin/env php
22
<?php
33

44
foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {

0 commit comments

Comments
 (0)