diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-11-26 05:55:57 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-11-26 05:55:57 -0500 |
commit | bf3d216085eab8577412db9cef5f75701dafd8e6 (patch) | |
tree | cea31041e125d0dd5355ecf0dec3d5f2e7c8b03d | |
parent | 9bcfa9cdede27be34d11f42dfae3d8fd60fc92bc (diff) | |
download | monitoring-plugins-bf3d216085eab8577412db9cef5f75701dafd8e6.tar.gz |
Minor fix in NP-VERSION-GEN
-rwxr-xr-x | NP-VERSION-GEN | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NP-VERSION-GEN b/NP-VERSION-GEN index f963e637..10428b3e 100755 --- a/NP-VERSION-GEN +++ b/NP-VERSION-GEN | |||
@@ -29,8 +29,8 @@ elif test -d $SRC_ROOT/.svn -o -f $SRC_ROOT/.svn && | |||
29 | *$LF*) (exit 1) ;; | 29 | *$LF*) (exit 1) ;; |
30 | Revision:*) | 30 | Revision:*) |
31 | VN=`echo $VN | awk '{print $NF}'` | 31 | VN=`echo $VN | awk '{print $NF}'` |
32 | test "`svn status 2>/dev/null | grep '^[AMD]' | wc -l`" = 0 || | 32 | SS=`svn status 2>/dev/null | grep '^[AMD]' | wc -l` |
33 | VN="$VN-dirty" ;; | 33 | test "$SS" = 0 || VN="$VN-dirty" ;; |
34 | esac | 34 | esac |
35 | then | 35 | then |
36 | VN=`echo "trunk.$VN" | sed -e 's/-/./g'`; | 36 | VN=`echo "trunk.$VN" | sed -e 's/-/./g'`; |