summaryrefslogtreecommitdiff
path: root/www/cakephp13/files/patch-cake__console__cake
blob: ca268e41f821c9bbe41c6d45203b2f3548084ffe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- ./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;