SVN: nagios-notify/trunk/tag.sh

glen glen at pld-linux.org
Mon Dec 17 13:04:49 CET 2012


Author: glen
Date: Mon Dec 17 13:04:49 2012
New Revision: 12611

Modified:
   nagios-notify/trunk/tag.sh
Log:
use svnversion

Modified: nagios-notify/trunk/tag.sh
==============================================================================
--- nagios-notify/trunk/tag.sh	(original)
+++ nagios-notify/trunk/tag.sh	Mon Dec 17 13:04:49 2012
@@ -1,6 +1,6 @@
 #!/bin/sh
 url=$(svn info | awk '/^URL:/{gsub("/trunk$", "", $2); print $2}')
-rev=$(svn info | awk '/^Revision:/{print $2}')
+rev=$(svnversion || svn info | awk '/^Revision:/{print $2}')
 version=$(awk -F= '/^version/{print $2}' Makefile | xargs)
 tag="$version"
 


More information about the pld-cvs-commit mailing list