1
0
Fork 0

Fix windows proxy code

pull/757/head
Jordi Boggiano 2012-06-01 13:32:42 +02:00
parent b4622885de
commit 935eaa9646
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ class LibraryInstaller implements InstallerInterface
$line = fgets($handle);
fclose($handle);
if (preg_match('{^#!/(?:usr/bin/env )?(?:[^/]+/)*(.+)$}m', $line, $match)) {
$caller = $match[1];
$caller = trim($match[1]);
} else {
$caller = 'php';
}