From 96ea542038fd386c662d31b30c681c7ab0295142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20K=C3=BCller?= Date: Wed, 14 Dec 2022 17:22:44 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Efunctions/functions=E2=80=9C=20=C3=A4n?= =?UTF-8?q?dern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git checkout angepasst - Version (V962) = Branch (v962) (nur v und V unterscheiden sich!) --- functions/functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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