Browse Source

Restore '#!/usr/bin/env sh' shebang

Grzegorz 'Wirone' Korba 11 năm trước cách đây
mục cha
commit
e20668b321
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Composer/Installer/LibraryInstaller.php

+ 1 - 1
src/Composer/Installer/LibraryInstaller.php

@@ -307,7 +307,7 @@ class LibraryInstaller implements InstallerInterface
         $binFile = basename($binPath);
 
         $proxyCode = <<<PROXY
-#!/bin/sh
+#!/usr/bin/env sh
 
 dir=$(d=$(dirname "$0"); cd "\$d"; cd $binDir && pwd)