From: Thomas Guyot-Sionnest Date: Wed, 26 Nov 2008 10:55:57 +0000 (-0500) Subject: Minor fix in NP-VERSION-GEN X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bf3d216085eab8577412db9cef5f75701dafd8e6;p=nagiosplug.git Minor fix in NP-VERSION-GEN --- diff --git a/NP-VERSION-GEN b/NP-VERSION-GEN index f963e63..10428b3 100755 --- a/NP-VERSION-GEN +++ b/NP-VERSION-GEN @@ -29,8 +29,8 @@ elif test -d $SRC_ROOT/.svn -o -f $SRC_ROOT/.svn && *$LF*) (exit 1) ;; Revision:*) VN=`echo $VN | awk '{print $NF}'` - test "`svn status 2>/dev/null | grep '^[AMD]' | wc -l`" = 0 || - VN="$VN-dirty" ;; + SS=`svn status 2>/dev/null | grep '^[AMD]' | wc -l` + test "$SS" = 0 || VN="$VN-dirty" ;; esac then VN=`echo "trunk.$VN" | sed -e 's/-/./g'`;