OSDN Git Service

add shebang to Phar stub
authorscribu <mail@scribu.net>
Tue, 12 Feb 2013 23:32:18 +0000 (01:32 +0200)
committerscribu <mail@scribu.net>
Tue, 12 Feb 2013 23:32:18 +0000 (01:32 +0200)
utils/make-phar.php

index 7de3b17..ece45d3 100644 (file)
@@ -37,6 +37,7 @@ foreach ( $iterator as $path ) {
 }
 
 $phar->setStub( <<<EOB
+#!/usr/bin/env php
 <?php
 Phar::mapPhar();
 include 'phar://wp-cli.phar/php/boot-phar.php';