diff options
Diffstat (limited to 'hardinfo2/configure')
-rwxr-xr-x | hardinfo2/configure | 2 |
1 files changed, 1 insertions, 1 deletions
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 |