From 16881b84f74734b0982678003e54db95dc857296 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Mon, 22 May 2006 16:05:56 +0000 Subject: Fix segfault --- hardinfo2/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo2/configure') diff --git a/hardinfo2/configure b/hardinfo2/configure index d70efbf2..8b8d06f9 100755 --- a/hardinfo2/configure +++ b/hardinfo2/configure @@ -24,7 +24,7 @@ PACKAGE=`basename ${PWD} | cut -d"-" -f1`; VERSION=`basename ${PWD} | cut -d"-" -f2`; if [ "$PACKAGE" == "$VERSION" ]; then - VERSION=$( printf "SVN_%d" $( svn info|grep Revision|cut -d":" -f2 )) + VERSION=$(printf "SVN_%d" $(svn -R info|grep Revision|cut -d: -f2|sort -n |uniq|tail -n1)) RELEASE=0 else RELEASE=1 -- cgit v1.2.3