Fix the way bash is invoked.

Using /usr/bin/env is more portable to various *nix flavours.
Fixes #2688
This commit is contained in:
mark_story 2012-03-15 20:20:39 -04:00
parent fe3d354b61
commit 5713cd3269
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
@ -30,4 +30,4 @@ APP=`pwd`
exec php -q "$LIB"cake.php -working "$APP" "$@"
exit;
exit;

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script