| 1 |
lars |
1 |
#!/bin/bash
|
|
|
2 |
################################################################################
|
|
|
3 |
#
|
|
|
4 |
# Bake is a shell script for running CakePHP bake script
|
|
|
5 |
# PHP versions 4 and 5
|
|
|
6 |
#
|
|
|
7 |
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
|
|
|
8 |
# Copyright 2005-2007, Cake Software Foundation, Inc.
|
|
|
9 |
#
|
|
|
10 |
# Licensed under The MIT License
|
|
|
11 |
# Redistributions of files must retain the above copyright notice.
|
|
|
12 |
#
|
|
|
13 |
# @filesource
|
|
|
14 |
# @copyright Copyright 2005-2007, Cake Software Foundation, Inc.
|
|
|
15 |
# @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
|
|
|
16 |
# @package cake
|
|
|
17 |
# @subpackage cake.cake.console
|
|
|
18 |
# @since CakePHP(tm) v 1.2.0.5012
|
|
|
19 |
# @version $Revision: 7945 $
|
|
|
20 |
# @modifiedby $LastChangedBy: gwoo $
|
|
|
21 |
# @lastmodified $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $
|
|
|
22 |
# @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
|
|
23 |
#
|
|
|
24 |
################################################################################
|
|
|
25 |
clear
|
|
|
26 |
|
|
|
27 |
LIB=${0/%cake/}
|
|
|
28 |
APP=`pwd`
|
|
|
29 |
|
|
|
30 |
exec php -q ${LIB}cake.php -working "${APP}" "$@"
|
|
|
31 |
|
|
|
32 |
exit;
|