include version info in README and ask user to verify version as part of post-install process

This commit is contained in:
David Underhill committed 2008-08-27 00:06:15 -07:00
1 parent 2d677161fc
commit 37be3ba8a5
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -1,4 +1,5 @@
README: OpenFlow Wireshark Plugin
<VERSION>
<DATE>
----------------------------------------
@@ -20,6 +21,7 @@ II) Installation Verification
3) Select the "Plugins" tab
4) Click the "Name" header to the plugins by name
5) Verify that "packet-openflow.so" appears in the list.
6) Verify that its version is listed as <VERSION>.
----------------------------------------
@@ -45,8 +45,8 @@ version=`grep '#define VERSION' moduleinfo.h | cut -d\" -f2`
# replace <DATE> tag in README with date information'
date=`date`
mv ../README ../tmp
cat ../tmp | sed -e "s#<DATE>#Distribution Creation Date: $date#" > ../README
cat ../README | sed -e "s#<VERSION>#Plugin Version: $version#g" > ../tmp
cat ../tmp | sed -e "s#<DATE>#Distribution Creation Date: $date#g" > ../README
# make a tarball from the build folder
tarball="openflow_wireshark_dissector-$version.tgz"