From d14bcdc0fc0edbc4129b0e4e040933863ad167d8 Mon Sep 17 00:00:00 2001 From: hkueller Date: Tue, 13 Dec 2022 15:35:46 +0100 Subject: [PATCH] GetSVN wieder hergestellt, ADDONVERSION entspricht jetzt der letzten GIT commit ID --- functions/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/functions b/functions/functions index 3c6df3b..eebd0a6 100644 --- a/functions/functions +++ b/functions/functions @@ -296,7 +296,7 @@ GetGit() { fi git clone $GITURL/${GITPROJ}.git cd $GITPROJ - ADDONVERSION=$(svn info $SVNURL/$SVNPROJ|grep Revision|awk '{print $2}') + ADDONVERSION=$(git log .|grep commit|head -1|awk '{print $2}') rm -rf .git for i in `find . -type d`; do case $i in @@ -335,7 +335,7 @@ GetGit() { rm -rf /tmp/gittmp$$ } -GetGit() { +GetSVN() { CDIR=`pwd` SVNPROJ=$1 PKGROOT=$2