]> git.pld-linux.org Git - packages/cakephp.git/blame - console.patch
- allow LOGS/CACHE constants from application side
[packages/cakephp.git] / console.patch
CommitLineData
d45308bf
ER
1--- cake_1.2.1.8004/cake/console/cake~ 2009-11-16 14:25:48.000000000 +0200
2+++ cake_1.2.1.8004/cake/console/cake 2009-11-16 14:26:07.636266578 +0200
3@@ -1,4 +1,4 @@
4-#!/bin/bash
5+#!/bin/sh
6 ################################################################################
7 #
8 # Bake is a shell script for running CakePHP bake script
9@@ -22,11 +22,9 @@
10 # @license http://www.opensource.org/licenses/mit-license.php The MIT License
11 #
12 ################################################################################
13-clear
14
15-LIB=${0/%cake/}
16-APP=`pwd`
17+LIB=/usr/share/php/cake/console
18+APP=$(pwd)
19
20-exec php -q ${LIB}cake.php -working "${APP}" "$@"
21-
22-exit;
23\ No newline at end of file
24+exec php -q ${LIB}/cake.php -working "${APP}" "$@"
25+exit 1
This page took 0.072637 seconds and 4 git commands to generate.