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