From: Jan Schneider Date: Fri, 25 Jun 2010 14:48:06 +0000 (+0200) Subject: CS X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9f6f4aa9a8e9bf1ac6bfa0fa00e0ac56729ff20b;p=horde.git CS --- diff --git a/framework/Packaging/script/horde-pear-release.php b/framework/Packaging/script/horde-pear-release.php index 6399852b6..dc2cb6b3b 100755 --- a/framework/Packaging/script/horde-pear-release.php +++ b/framework/Packaging/script/horde-pear-release.php @@ -1,6 +1,7 @@ -#!/usr/bin/php +#!/usr/bin/env php parseArgs(); if (empty($args[0])) { - print "Please specify the path to the package you want to release!\n\n"; + echo "Please specify the path to the package you want to release!\n\n"; $parser->printUsage(STDERR); exit(1); } $package_path = $args[0]; if (!is_dir($package_path)) { - print sprintf("%s specifies no directory!\n", $package_path); + printf("%s specifies no directory!\n", $package_path); exit(1); } $package_file = $package_path . '/package.xml'; if (!file_exists($package_file)) { - print sprintf("There is no package.xml at %s!\n", $package_path); + printf("There is no package.xml at %s!\n", $package_path); exit(1); }