Use consistent shebang #!/usr/bin/env php
authorJan Schneider <jan@horde.org>
Wed, 13 Oct 2010 10:46:20 +0000 (12:46 +0200)
committerJan Schneider <jan@horde.org>
Thu, 14 Oct 2010 09:27:59 +0000 (11:27 +0200)
47 files changed:
agora/scripts/phorum2agora.php
agora/scripts/upgrades/2007-09-23_last_message.php
ansel/scripts/ansel.php
ansel/scripts/garbage_collection.php
ansel/scripts/recursive_import.php
folks/scripts/mail-filter.php
framework/Icalendar/examples/Horde/Icalendar/parser.php
framework/Rpc/test/rpc-test.php
framework/SyncML/tests/testpacket.php
framework/SyncML/tests/testsync.php
framework/Text_Diff/docs/examples/diff.php
framework/XML_WBXML/tests/decode.php
hermes/scripts/purge.php
horde/scripts/import_squirrelmail_file_prefs.php
horde/scripts/import_squirrelmail_sql_prefs.php
horde/scripts/upgrades/2008-04-09_horde_syncml_map.php
horde/scripts/upgrades/convert_datatree_groups_to_sql.php
horde/scripts/upgrades/convert_datatree_perms_to_sql.php
horde/scripts/upgrades/migrate_user_categories.php
horde/scripts/upgrades/move_history_out_of_datatree.php
hylax/scripts/fax_create.php
hylax/scripts/fax_create_recv.php
hylax/scripts/fax_save_data.php
hylax/scripts/fax_save_recv_data.php
hylax/scripts/install_cups_drivers.php
imp/scripts/bounce_spam.php
ingo/scripts/upgrades/convert_prefs_to_sql.php
jonah/scripts/feed_tester.php
kronolith/scripts/import_icals.php
kronolith/scripts/import_squirrelmail_calendar.php
kronolith/scripts/upgrades/convert_to_utc.php
mnemo/scripts/import_text_note.php
mnemo/scripts/import_vnotes.php
mnemo/scripts/upgrades/convert_to_utf8.php
nag/scripts/import_vtodos.php
nag/scripts/upgrades/create_missing_add_histories_sql.php
trean/scripts/url_cron.php
turba/scripts/import_squirrelmail_file_abook.php
turba/scripts/import_squirrelmail_sql_abook.php
turba/scripts/import_vcards.php
turba/scripts/upgrades/public_to_horde_share.php
vilma/scripts/create_mailboxes.php
whups/scripts/bugzilla-import.php
whups/scripts/obliterate.php
wicked/scripts/convert_to_utf8.php
wicked/scripts/mail-filter.php
wicked/scripts/wicked.php

index 6976b8a..009bc91 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Move basic messsage from phorum5 to agora preserving message ids
index 7ca27c0..78b8636 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
 * This script interfaces with Ansel via the command-line
index 6c5e2a8..0d9ba66 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script looks for images in the VFS that have no pointer in the
index 21a37b6..db10f1e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php -q
+#!/usr/bin/env php
 <?php
 /**
 * This script interfaces with Ansel via the command-line
index 7a20060..013c9c1 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script parses MIME messages and deactivates users with returned emails.
index 6f69c45..2bcc00a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Takes a filename on the command line and parses it, displaying what it
index 3e25ab9..bb84790 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * @package Horde_Rpc
index cfaf23f..ca73439 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Script to test individual SyncML messages.
index 7b1e322..e779433 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Script to test the SyncML implementation.
index 66914c2..9f7b014 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Text_Diff example script.
index 45e9c5b..d1c6a27 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Tests all .wbxml files in ../docs/examples/ by decoding them and
index 81680ba..378e889 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Copyright 2002-2010 The Horde Project (http://www.horde.org/)
index f287ea1..c5b6af8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script imports SquirrelMail file-based preferences into Horde.
index f0516d0..45f546f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script imports SquirrelMail database preferences into Horde.
index 2a1e631..86a3333 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This is a script to migrate SyncML anchor information out of the datatree
index 3a7ef69..e5a0c09 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php -q
+#!/usr/bin/env php
 <?php
 /**
  * A script to migrate groups from the DataTree backend to the new
index e745885..af9e8c2 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php -q
+#!/usr/bin/env php
 <?php
 /**
  * A script to migrate permissions from the DataTree backend to the
index 8219860..5674940 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php -q
+#!/usr/bin/env php
 <?php
 /**
  * A script to update users preferences to combine their categories
index 9a1ade8..b423a56 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This is a script to migrate History information out of the datatree
index a586f55..50522ec 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 
 require_once dirname(__FILE__) . '/../lib/Application.php';
index f4fcaba..5bfe627 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 
 require_once dirname(__FILE__) . '/../lib/Application.php';
index 44cc34b..816d233 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 
 require_once dirname(__FILE__) . '/../lib/Application.php';
index f8c8a95..601f657 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 
 require_once dirname(__FILE__) . '/../lib/Application.php';
index a228a73..e9a0eb9 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 
 require_once dirname(__FILE__) . '/../lib/Application.php';
index dbd3c87..2bdbb64 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script bounces a message back to the sender and can be used with IMP's
index 090eff4..d575e6c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Converts a user's filter rules from the preferences storage backend to the
index 9cb386d..ed69679 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php -q
+#!/usr/bin/env php
 <?php
 /**
  * See the enclosed file LICENSE for license information (BSD). If you
index 3acf249..2751ae7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script imports iCalendar/vCalendar data into Kronolith calendars.
index 2aedb49..b0ace25 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script imports SquirrelMail database calendars into Kronolith.
index 58f1c7c..970bf2c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script converts all dates from the user's timezone to UTC.
index 8fff10a..7484ef8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script imports vNote data into Mnemo notepads.
index 09190dc..ae42195 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script imports vNote data into Mnemo notepads.
index 222c4ae..b9f3ac1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script converts the data in an SQL backend from any supported charset
index 0ddcbc1..9b45a5f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script imports vTodo data into Nag tasklists.
index ed1f62f..b5355df 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Copyright 2005-2010 The Horde Project (http://www.horde.org/)
index e5fb797..d3c03af 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * $Horde: trean/scripts/check_links.php,v 1.30 2009/01/06 18:02:14 jan Exp $
index 1c4ce12..b2cbaed 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script imports SquirrelMail file-based addressbooks into Turba.
index 2a9c6c2..a838676 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script imports SquirrelMail database addressbooks into Turba.
index f2c666e..69590e7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script imports VCARD data into turba address books.
index 8f097b5..db0b6c1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Script to migrate an existing 'public' Turba address book to the
index e274544..e5e34e1 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script will check the user table and create any mail directories on the
index e56bcfd..ff05b19 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Bugzilla Import Script.
index 88e5fd0..ea7d11a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Obliterate Whups Data.
index 9ef9704..d1201e6 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * This script converts the data in an SQL backend from any supported charset
index 5c310db..dab60a8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /*
  * This script accepts a MIME message on standard input and creates a new
index 7f4ce54..de77677 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php -q
+#!/usr/bin/env php
 <?php
 /**
 * This script interfaces with Wicked via the command-line