[dev] shebang in horde commands
Remi Collet
remi at fedoraproject.org
Sat Feb 9 17:38:46 UTC 2013
Hi,
Working on packages for fedora, I notice the horde commands use the shebang:
#!/usr/bin/env php
Would it be possible to add, in the package.xml of the related
component, for this files:
<tasks:replace from="/usr/bin/env php" to="php_bin" type="pear-config" />
This will allow to keep the script ok for use from the sources, from
other installation method (composer) and to have a better shebang on
pear installation, p.e. :
#!/usr/bin/php
What do you think ?
Regards,
Remi.
P.S. solution taken from PHPUnit.
More information about the dev
mailing list