Make chenage-version.sh OS X friendly

pull/640/head
Jeffrey Walton 2018-04-08 16:19:16 -04:00
parent 4bb331f5d0
commit bdd0f02867
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 8 additions and 3 deletions

View File

@ -4,6 +4,11 @@
# building the docs. Before running the script, copy it to the root # building the docs. Before running the script, copy it to the root
# directory. After running this script, you can 'make docs' # directory. After running this script, you can 'make docs'
sed -i 's|Library 7.1 API|Library 7.0 API|g' cryptlib.h sed 's|Library 7.1 API|Library 7.0 API|g' cryptlib.h > cryptlib.h.new
sed -i 's|= 7.1|= 7.0|g' Doxyfile mv cryptlib.h.new cryptlib.h
sed -i 's|CRYPTOPP_VERSION 710|CRYPTOPP_VERSION 700|g' config.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