com web/bugs: make the shebang more portable: scripts/cron/email-assigned scripts/cron/no-feedback
| From: | Ferenc Kovacs | Date: | Tue, 30 Dec 2014 10:16:00 +0000 |
| Subject: | com web/bugs: make the shebang more portable: scripts/cron/email-assigned scripts/cron/no-feedback | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-20433@lists.php.net to get a copy of this message | ||
Commit: 9612686ee3cfc0b0f529a596d75abdfb7e58f44d
Author: kovacs.ferenc <kovacs.ferenc@ustream.tv> Tue, 30 Dec 2014 11:15:49 +0100
Parents: 28d0fee92461ee5378216ad009c4f7c1449cb69d
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=9612686ee3cfc0b0f529a596d75abdfb7e58f44d
Log:
make the shebang more portable
Changed paths:
M scripts/cron/email-assigned
M scripts/cron/no-feedback
Diff:
diff --git a/scripts/cron/email-assigned b/scripts/cron/email-assigned
index d8125ca..b9910be 100755
--- a/scripts/cron/email-assigned
+++ b/scripts/cron/email-assigned
@@ -1,4 +1,4 @@
-#!/local/bin/php -q
+#!/usr/bin/env php
<?php /* vim: set ft=phpbugdb noet ts=4 sw=4 : */
require __DIR__ . '/../../include/prepend..php';
diff --git a/scripts/cron/no-feedback b/scripts/cron/no-feedback
index f3fffad..478b7ff 100755
--- a/scripts/cron/no-feedback
+++ b/scripts/cron/no-feedback
@@ -1,4 +1,4 @@
-#!/local/bin/php -q
+#!/usr/bin/env php
<?php /* vim: set ft=phpbugdb noet ts=4 sw=4 : */
# this script closes bugs due to lack of feedback.