Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(build): use /usr/bin/env in shebang instead of direct php path.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Kermagoret authored and kduret committed Jun 5, 2018
1 parent 30fc02c commit dd9ec86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/centreon
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/php
#!/usr/bin/env php
<?php
/**
* Copyright 2005-2015 CENTREON
Expand Down
3 changes: 1 addition & 2 deletions cron/downtimeManager.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/php
#!/usr/bin/env php
<?php
/**
* Copyright 2005-2015 Centreon
Expand Down Expand Up @@ -130,4 +130,3 @@

# Purge downtime cache
$downtimeObj->purgeCache();

3 changes: 1 addition & 2 deletions libinstall/clean_session.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/php
#!/usr/bin/env php
<?php
/*
* Centreon is developped with GPL Licence 2.0 :
Expand Down Expand Up @@ -56,4 +56,3 @@ function usage($command)
}

exit(0);

0 comments on commit dd9ec86

Please sign in to comment.