mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
6de7b2d141
PHARs do not like to be edited after compilation, so shebang has to be fixed before it was created.
14 lines
389 B
Diff
14 lines
389 B
Diff
diff --git a/src/Composer/Compiler.php b/src/Composer/Compiler.php
|
|
index a31aff946..8398862a1 100644
|
|
--- a/src/Composer/Compiler.php
|
|
+++ b/src/Composer/Compiler.php
|
|
@@ -260,7 +260,7 @@ private function stripWhitespace($source)
|
|
private function getStub()
|
|
{
|
|
$stub = <<<'EOF'
|
|
-#!/usr/bin/env php
|
|
+#!@TERMUX_PREFIX@/bin/env php
|
|
<?php
|
|
/*
|
|
* This file is part of Composer.
|