[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2103] nagiosplug/trunk/NP-VERSION-GEN

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Wed Nov 26 12:07:14 CET 2008


Revision: 2103
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2103&view=rev
Author:   dermoth
Date:     2008-11-26 11:07:13 +0000 (Wed, 26 Nov 2008)

Log Message:
-----------
Fix it for good now

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

Modified: nagiosplug/trunk/NP-VERSION-GEN
===================================================================
--- nagiosplug/trunk/NP-VERSION-GEN	2008-11-26 10:57:11 UTC (rev 2102)
+++ nagiosplug/trunk/NP-VERSION-GEN	2008-11-26 11:07:13 UTC (rev 2103)
@@ -29,8 +29,8 @@
 	*$LF*) (exit 1) ;;
 	Revision:*)
 		VN=`echo $VN | awk '{print $NF}'`
-		SS=`svn status 2>/dev/null | grep '^[AMD]' | wc -l`
-		test "$SS" = 0 ||	VN="$VN-dirty" ;;
+		test "`svn status 2>/dev/null | grep '^[AMD]' | wc -l | tr -d ' '`" = 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.




More information about the Commits mailing list