From 74b5268a9250454f651f8681b2182471e3f3e250 Mon Sep 17 00:00:00 2001 From: till Date: Fri, 9 Jan 2009 21:13:00 +0000 Subject: * let's not discriminate unix :) (= generalized paths) * added checks so all scripts are only executable from CLI git-svn-id: https://svn.roundcube.net/trunk@2229 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/bin/dumpschema.php | 6 +++++- roundcubemail/bin/msgexport.sh | 7 +++++-- roundcubemail/bin/msgimport.sh | 7 +++++-- roundcubemail/bin/update.sh | 8 +++++--- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/roundcubemail/bin/dumpschema.php b/roundcubemail/bin/dumpschema.php index cbadb00f6..9557c4b15 100644 --- a/roundcubemail/bin/dumpschema.php +++ b/roundcubemail/bin/dumpschema.php @@ -1,6 +1,6 @@ +#!/usr/bin/env php \ No newline at end of file +?> diff --git a/roundcubemail/bin/msgimport.sh b/roundcubemail/bin/msgimport.sh index fa5678cec..a5161e026 100755 --- a/roundcubemail/bin/msgimport.sh +++ b/roundcubemail/bin/msgimport.sh @@ -1,5 +1,8 @@ -#!/usr/bin/php +#!/usr/bin/env php \ No newline at end of file +?> diff --git a/roundcubemail/bin/update.sh b/roundcubemail/bin/update.sh index a9a917c8c..c93d92dec 100755 --- a/roundcubemail/bin/update.sh +++ b/roundcubemail/bin/update.sh @@ -1,6 +1,8 @@ -#!/usr/bin/php +#!/usr/bin/env php \ No newline at end of file +?> -- cgit v1.2.3