[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2102] nagiosplug/trunk/NP-VERSION-GEN
dermoth at users.sourceforge.net
dermoth at users.sourceforge.net
Wed Nov 26 11:57:11 CET 2008
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.
More information about the Commits
mailing list