Mercurial > hg > Members > shoshi > webvirt
comparison cake/console/cake @ 0:261e66bd5a0c
hg init
author | Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 24 Jul 2011 21:08:31 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:261e66bd5a0c |
---|---|
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://cakephp.org) | |
8 # Copyright 2005-2010, Cake Software Foundation, Inc. | |
9 # | |
10 # Licensed under The MIT License | |
11 # Redistributions of files must retain the above copyright notice. | |
12 # | |
13 # @copyright Copyright 2005-2010, Cake Software Foundation, Inc. | |
14 # @link http://cakephp.org CakePHP(tm) Project | |
15 # @package cake | |
16 # @subpackage cake.cake.console | |
17 # @since CakePHP(tm) v 1.2.0.5012 | |
18 # @license MIT License (http://www.opensource.org/licenses/mit-license.php) | |
19 # | |
20 ################################################################################ | |
21 LIB=${0/%cake/} | |
22 APP=`pwd` | |
23 | |
24 exec php -q ${LIB}cake.php -working "${APP}" "$@" | |
25 | |
26 exit; |