summaryrefslogtreecommitdiffstats
path: root/archrelease
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-02-17 18:27:09 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-02-17 18:27:09 +0100
commitdf4310025b67ce4a619cea5b07dd77c971997d74 (patch)
tree0e5639dbe52ca75da365ee12bec88e78fb27d45f /archrelease
parent53a864a5aa2e273154e4e37218b967924cf4cf79 (diff)
downloaddevtools-df4310025b67ce4a619cea5b07dd77c971997d74.tar.gz
devtools-df4310025b67ce4a619cea5b07dd77c971997d74.tar.xz
Use svnversion insead of svn info
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