bash/deploy.sh in jgd-1.9 vs bash/deploy.sh in jgd-1.10

- old
+ new

@@ -5,10 +5,11 @@ URL=$1 BRANCH=$2 BRANCH_FROM=$3 DEPLOY_CONFIG=$4 +BUNDLE=$5 SRC=$(pwd) TEMP=$(mktemp -d -t jgd-XXX) trap "rm -rf ${TEMP}" EXIT CLONE=${TEMP}/clone COPY=${TEMP}/copy @@ -21,12 +22,12 @@ echo -e "\nBuilding Jekyll site:" rm -rf _site if [ -r ${DEPLOY_CONFIG} ]; then - jekyll build --config _config.yml,${DEPLOY_CONFIG} + ${BUNDLE} jekyll build --config _config.yml,${DEPLOY_CONFIG} else - jekyll build + ${BUNDLE} jekyll build fi if [ ! -e _site ]; then echo -e "\nJekyll didn't generate anything in _site!" exit -1