mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-21 21:36:31 +00:00
Merge pull request #1 from mrscotty/develop
Add SHOESTRAP_BASE environment variable
This commit is contained in:
commit
3f93010eaa
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user