Fix reference to $SHOESTRAP_BASE variable.

Condition was always evaluating as false, and if SHOESTRAP_BASE
was undefined (as per default), recipes would not be found.
This commit is contained in:
Adam Daniels 2013-02-27 13:58:03 -05:00
parent 153bfb1bd7
commit b56566bf63

View File

@ -5,7 +5,7 @@
##############################################################################
COOKBOOK_NAME="$(basename $0)"
if [ -z "SHOESTRAP_BASE" ]; then
if [ -z "$SHOESTRAP_BASE" ]; then
DIR="$( cd "$( dirname "$0" )" && pwd )"
else
DIR="$SHOESTRAP_BASE"