diff --git a/functions/functions b/functions/functions index eebd0a6..d277aea 100644 --- a/functions/functions +++ b/functions/functions @@ -294,7 +294,8 @@ GetGit() { echo "und beliebige Taste drücken" read fi - git clone $GITURL/${GITPROJ}.git + GITVERS=$(echo $VERSION|sed -e "s/V/v/") + git clone -p $GITVERS $GITURL/${GITPROJ}.git cd $GITPROJ ADDONVERSION=$(git log .|grep commit|head -1|awk '{print $2}') rm -rf .git