--- ./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;