summaryrefslogtreecommitdiff
path: root/archrelease
diff options
context:
space:
mode:
Diffstat (limited to 'archrelease')
-rwxr-xr-xarchrelease4
1 files changed, 2 insertions, 2 deletions
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