From: Uwe Köcher Date: Mon, 28 Jul 2014 13:35:37 +0000 (+0200) Subject: Updated packaging git to make use of the variable EXTRACTSTO instead of NAME X-Git-Tag: v0.4~77 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=179e24543324712ba86c690f391c6b88b5ea9c87;p=candi.git Updated packaging git to make use of the variable EXTRACTSTO instead of NAME --- 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