From 6647b31ee324195e906d07f1047cf6b8bb32f613 Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
Date: Wed, 13 Jun 2007 11:45:47 +0000
Subject: [PATCH] Fix parsing of svn output.
---
mksnap.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mksnap.sh b/mksnap.sh
index 843427b..063ebac 100755
--- a/mksnap.sh
+++ b/mksnap.sh
@@ -27,7 +27,7 @@ cd "${MYTMPDIR}"
svn co ${SVNREPOS}/${ALBERTADIST} albertadist
cd albertadist
# own revision
-HEADREV=`svn info|grep "Last Changed Rev" |awk '{ print $4; }'`
+HEADREV=`svn info|awk '/Revision:/ { print $2; }'`
LASTREV=`{ ls -C1 --color=no ${SNAPSHOTDIR}/*.gz || true; }|tail -n 1|cut -d '-' -f 3|cut -d '.' -f 1`
if test -n "${LASTREV}"; then
# figure out if anything has changed.
--
GitLab