SF.net SVN: nagiosplug:[2103] nagiosplug/trunk/NP-VERSION-GEN
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
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.
-------------------------------------------------------------------------
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=/