Skip to content

Commit

Permalink
Change the executable to allow different paths
Browse files Browse the repository at this point in the history
For me PHP is installed in `/usr/bin/php` not `/usr/local/bin/php`
* https://thomashunter.name/blog/creating-self-executable-php-scripts/
  • Loading branch information
cmodijk authored Mar 30, 2018
1 parent bd5d87c commit 00234b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sourcetree-merge-request-opener
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/local/bin/php
#!/usr/bin/env php
<?php

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

0 comments on commit 00234b8

Please sign in to comment.