be more selective about which Version is modified

This commit is contained in:
Matthew Wall
2014-10-11 20:38:56 +00:00
parent 6f598cb54f
commit 63bcdb6481
2 changed files with 2 additions and 2 deletions

View File

@@ -2678,7 +2678,7 @@ Mutating actions will request confirmation before proceeding.
option.</p>
<pre class="tty"><span class="symcode">$BIN_ROOT</span>/wee_config_cc3000 --info </pre>
<p>This will result in something like this:</p>
<pre class='tty'>firmware: Rainwise CC-3000 Version: 2.6.4
<pre class='tty'>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%

View File

@@ -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