SF.net SVN: nagiosplug:[2102] nagiosplug/trunk/NP-VERSION-GEN

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
Revision: 2102
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2102&view=rev
Author:   dermoth
Date:     2008-11-26 10:57:11 +0000 (Wed, 26 Nov 2008)

Log Message:
-----------
Minor fix in NP-VERSION-GEN

Modified Paths:
--------------
    nagiosplug/trunk/NP-VERSION-GEN

Modified: nagiosplug/trunk/NP-VERSION-GEN
===================================================================
--- nagiosplug/trunk/NP-VERSION-GEN	2008-11-26 10:49:25 UTC (rev 2101)
+++ nagiosplug/trunk/NP-VERSION-GEN	2008-11-26 10:57:11 UTC (rev 2102)
@@ -29,8 +29,8 @@
 	*$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'`;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.