From 179e24543324712ba86c690f391c6b88b5ea9c87 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20K=C3=B6cher?= Date: Mon, 28 Jul 2014 15:35:37 +0200 Subject: [PATCH] Updated packaging git to make use of the variable EXTRACTSTO instead of NAME --- candi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/candi.sh b/candi.sh index 358dbf2..bef8665 100755 --- a/candi.sh +++ b/candi.sh @@ -118,10 +118,10 @@ package_fetch () { elif [ ${PACKING} = "git" ]; then cd ${UNPACK_PATH} # Suitably clone or update git repositories - if [ ! -d ${NAME} ]; then + if [ ! -d ${EXTRACTSTO} ]; then git clone ${SOURCE}${NAME} else - cd ${NAME} + cd ${EXTRACTSTO} git pull cd .. fi -- 2.39.5