freebsd-ports/www/cakephp12/files/patch-cake__console__cake
2009-04-21 20:24:36 +00:00

21 lines
557 B
Text

--- ./cake/console/cake.orig 2009-04-21 16:16:45.000000000 -0400
+++ ./cake/console/cake 2009-04-21 16:16:54.000000000 -0400
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
################################################################################
#
# Bake is a shell script for running CakePHP bake script
@@ -24,9 +24,9 @@
################################################################################
clear
-LIB=${0/%cake/}
+LIB=${0%cake}
APP=`pwd`
exec php -q ${LIB}cake.php -working "${APP}" "$@"
-exit;
\ No newline at end of file
+exit;