From d4847048a18b0f51107a078add14563ecadf4701 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 --- bin/dumpschema.php | 6 +++++- bin/msgexport.sh | 7 +++++-- bin/msgimport.sh | 7 +++++-- bin/update.sh | 8 +++++--- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/bin/dumpschema.php b/bin/dumpschema.php index cbadb00f6..9557c4b15 100644 --- a/bin/dumpschema.php +++ b/bin/dumpschema.php @@ -1,6 +1,6 @@ +#!/usr/bin/env php \ No newline at end of file +?> diff --git a/bin/msgimport.sh b/bin/msgimport.sh index fa5678cec..a5161e026 100755 --- a/bin/msgimport.sh +++ b/bin/msgimport.sh @@ -1,5 +1,8 @@ -#!/usr/bin/php +#!/usr/bin/env php \ No newline at end of file +?> diff --git a/bin/update.sh b/bin/update.sh index a9a917c8c..c93d92dec 100755 --- a/bin/update.sh +++ b/bin/update.sh @@ -1,6 +1,8 @@ -#!/usr/bin/php +#!/usr/bin/env php \ No newline at end of file +?> -- cgit v1.2.3