From 63bcdb6481b56c6542c80067287c84cd3b9784ae Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Sat, 11 Oct 2014 20:38:56 +0000 Subject: [PATCH] be more selective about which Version is modified --- docs/usersguide.htm | 2 +- makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usersguide.htm b/docs/usersguide.htm index 639458f3..8e37eed3 100644 --- a/docs/usersguide.htm +++ b/docs/usersguide.htm @@ -2678,7 +2678,7 @@ Mutating actions will request confirmation before proceeding. option.

$BIN_ROOT/wee_config_cc3000 --info 

This will result in something like this:

-
firmware:  Rainwise CC-3000 Version: 2.6.4
+    
firmware:  Rainwise CC-3000 Version: 1.3 Build 006 Sep 04 2013
 time:  2014/06/02 08:22:17
 units:  ENGLISH
 memory:  251372 bytes, 4334 records, 12%
diff --git a/makefile b/makefile
index 2965d263..07008c5d 100644
--- a/makefile
+++ b/makefile
@@ -120,7 +120,7 @@ upload-readme: readme
 VDOCS=customizing.htm usersguide.htm upgrading.htm
 version:
 	for f in $(VDOCS); do \
-  sed -e 's/Version: [0-9].*/Version: $(VERSION)/' docs/$$f > docs/$$f.tmp; \
+  sed -e 's/^Version: [0-9].*/Version: $(VERSION)/' docs/$$f > docs/$$f.tmp; \
   mv docs/$$f.tmp docs/$$f; \
 done
 	sed -e 's/version =.*/version = $(VERSION)/' weewx.conf > weewx.conf.tmp; mv weewx.conf.tmp weewx.conf