Merge pull request #1 from mrscotty/develop

Add SHOESTRAP_BASE environment variable
This commit is contained in:
Carl Mercier 2012-11-19 07:33:48 -08:00
commit 3f93010eaa
1 changed files with 5 additions and 1 deletions

View File

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