Skip to content

Commit

Permalink
Fix mistake in cake shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
Marlinc committed Mar 2, 2016
1 parent bec2fc3 commit 5cb916a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ canonicalize() {
CONSOLE=$(dirname -- "$(canonicalize "$0")")
APP=$(dirname "$CONSOLE")

if [ $0 != 'cake' ]
if [ $(basename $0) != 'cake' ]
then
exec php "$CONSOLE"/cake.php $(basename $0) "$@"
else
Expand Down

0 comments on commit 5cb916a

Please sign in to comment.