From df4310025b67ce4a619cea5b07dd77c971997d74 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 17 Feb 2010 18:27:09 +0100 Subject: Use svnversion insead of svn info --- archrelease | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archrelease') diff --git a/archrelease b/archrelease index c9f32cb..78ca167 100755 --- a/archrelease +++ b/archrelease @@ -24,8 +24,8 @@ fi echo -n 'releasing package...' pushd .. >/dev/null -trunk=$(LANG=C svn info trunk | grep 'Last Changed Rev:' | awk '{ print $4 }') -repo=$(LANG=C svn info "repos/${1}" 2>/dev/null | grep 'Last Changed Rev:' | awk '{ print $4 }') +trunk=$(svnversion -cn trunk | cut -f1 -d:) +repo=$(svnversion -cn "repos/${1}" 2>/dev/null | cut -f1 -d:) if [[ ${trunk} -le ${repo} ]]; then echo 'already done' exit 1 -- cgit v1.2.3-70-g09d2