diff --git a/mksnap.sh b/mksnap.sh index 843427b22ad373e6b7f6b27f9a9c99f7ecaf043c..063ebac816e82d85b8c17f1ace5b382cdc459aa8 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.