diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-04-08 16:19:16 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-04-08 16:19:16 -0400 |
commit | bdd0f02867ff843be25c284258d3256a48e41cb1 (patch) | |
tree | 45936d71195b740aa5cbc8b774a79ea6502fd063 | |
parent | 4bb331f5d09d5d1a2034526d622d9decf5af48f1 (diff) | |
download | cryptopp-git-bdd0f02867ff843be25c284258d3256a48e41cb1.tar.gz |
Make chenage-version.sh OS X friendly
-rwxr-xr-x | TestScripts/change-version.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/TestScripts/change-version.sh b/TestScripts/change-version.sh index 7a0eda18..b05f3be1 100755 --- a/TestScripts/change-version.sh +++ b/TestScripts/change-version.sh @@ -4,6 +4,11 @@ # building the docs. Before running the script, copy it to the root # directory. After running this script, you can 'make docs' -sed -i 's|Library 7.1 API|Library 7.0 API|g' cryptlib.h -sed -i 's|= 7.1|= 7.0|g' Doxyfile -sed -i 's|CRYPTOPP_VERSION 710|CRYPTOPP_VERSION 700|g' config.h +sed 's|Library 7.1 API|Library 7.0 API|g' cryptlib.h > cryptlib.h.new +mv cryptlib.h.new cryptlib.h + +sed 's|= 7.1|= 7.0|g' Doxyfile > Doxyfile.new +mv Doxyfile.new Doxyfile + +sed 's|CRYPTOPP_VERSION 710|CRYPTOPP_VERSION 700|g' config.h > config.h.new +mv config.h.new config.h |