summaryrefslogtreecommitdiff
path: root/www/cakephp2/files/patch-cake__console__cake
blob: dbf9ba9213621b8a25f875b586519dad90ace65c (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	2011-07-26 13:46:14.000000000 -0400
+++ ./cake/console/cake	2011-09-19 14:44:33.000000000 -0400
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 ################################################################################
 #
 # Bake is a shell script for running CakePHP bake script
@@ -18,9 +18,9 @@
 # @license			MIT License (http://www.opensource.org/licenses/mit-license.php)
 #
 ################################################################################
-LIB=${0/%cake/}
+LIB=${0%cake}
 APP=`pwd`
 
 exec php -q ${LIB}cake.php -working "${APP}" "$@"
 
-exit;
\ No newline at end of file
+exit;