Use /usr/bin/env instead of hard-coding paths

fixes #7789
This commit is contained in:
Gunnar Beutner 2014-11-21 21:58:37 +01:00
parent eed10159fd
commit 42b0469a96
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/php #!/usr/bin/env php
<?php <?php
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# {{{ICINGA_LICENSE_HEADER}}} # {{{ICINGA_LICENSE_HEADER}}}
# {{{ICINGA_LICENSE_HEADER}}} # {{{ICINGA_LICENSE_HEADER}}}

View File

@ -1,4 +1,4 @@
#!/usr/bin/php #!/usr/bin/env php
<?php <?php
require_once '/usr/share/php/Icinga/Application/Cli.php'; require_once '/usr/share/php/Icinga/Application/Cli.php';