[icinga-checkins] icinga.org: icingaweb2/master: Use /usr/bin/ env instead of hard-coding paths

git at icinga.org git at icinga.org
Fri Nov 21 21:59:44 CET 2014


Module: icingaweb2
Branch: master
Commit: 42b0469a96a17fc2f0eac200b94f46990008ee60
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=42b0469a96a17fc2f0eac200b94f46990008ee60

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri Nov 21 21:58:37 2014 +0100

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

fixes #7789

---

 bin/icingacli                |    2 +-
 bin/license_writer.py        |    2 +-
 packages/files/bin/icingacli |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/icingacli b/bin/icingacli
index c85777c..69aa354 100755
--- a/bin/icingacli
+++ b/bin/icingacli
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 // {{{ICINGA_LICENSE_HEADER}}}
 // {{{ICINGA_LICENSE_HEADER}}}
diff --git a/bin/license_writer.py b/bin/license_writer.py
index 532839e..6612758 100755
--- a/bin/license_writer.py
+++ b/bin/license_writer.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # {{{ICINGA_LICENSE_HEADER}}}
 # {{{ICINGA_LICENSE_HEADER}}}
diff --git a/packages/files/bin/icingacli b/packages/files/bin/icingacli
index 10b4857..d5d7019 100755
--- a/packages/files/bin/icingacli
+++ b/packages/files/bin/icingacli
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 
 require_once '/usr/share/php/Icinga/Application/Cli.php';



More information about the icinga-checkins mailing list