[dev] shebang in horde commands

Jan Schneider jan at horde.org
Sun Feb 10 16:15:39 UTC 2013


Zitat von Remi Collet <remi at fedoraproject.org>:

> 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.

What's wrong with "/usr/bin/env php" that we should change it on PEAR  
installs?
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the dev mailing list