From 3285c0162ab8aa8bb283eae6349f7f1fb54ac18a Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Mon, 2 Feb 2015 05:57:16 -0800 Subject: [PATCH] And another ${WORKDIR} bug *sigh* --- libretro-fetch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-fetch.sh b/libretro-fetch.sh index dcf43778..3ceb5392 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -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