And another ${WORKDIR} bug *sigh*

This commit is contained in:
T. Joseph Carter 2015-02-02 05:57:16 -08:00
parent a5316f3f7b
commit 3285c0162a

View File

@ -47,7 +47,7 @@ fetch_git_submodules() {
if [ -n "${3}" ]; then
echo "=== Fetching ${3} ==="
fi
if [ -d "${2}/.git" ]; then
if [ -d "${WORKDIR}/${2}/.git" ]; then
cd "${WORKDIR}/${2}"
log_verbose "${WORKDIR}/${2}:git pull"
git pull