Skip to content
Snippets Groups Projects
Commit 6647b31e authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Fix parsing of svn output.
parent 21e91024
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment