mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-12 08:38:08 -04:00
scripts/bump_version.sh: update pkgconfig version
Bump the version number in pkgconfig/CMakeLists.txt so the package config files stay in sync with the project VERSION. This is Related to: - aa4862a5e ("Bump the version number in CMakeLists.txt") But changes were made to support CMake prior to version 3.0. Signed-off-by: Bill Roberts <bill.roberts@arm.com>
This commit is contained in:
parent
202a16329d
commit
a4486ceff2
@ -67,6 +67,10 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ $VERBOSE ] && echo "Bumping PKGCONFIG_VERSION in pkgconfig/CMakeLists.txt"
|
||||||
|
sed -e "s/PKGCONFIG_VERSION [0-9.]\{1,\}/PKGCONFIG_VERSION $VERSION/g" < pkgconfig/CMakeLists.txt > tmp
|
||||||
|
mv tmp pkgconfig/CMakeLists.txt
|
||||||
|
|
||||||
[ $VERBOSE ] && echo "Bumping VERSION in library/CMakeLists.txt"
|
[ $VERBOSE ] && echo "Bumping VERSION in library/CMakeLists.txt"
|
||||||
sed -e "s/ VERSION [0-9.]\{1,\}/ VERSION $VERSION/g" < library/CMakeLists.txt > tmp
|
sed -e "s/ VERSION [0-9.]\{1,\}/ VERSION $VERSION/g" < library/CMakeLists.txt > tmp
|
||||||
mv tmp library/CMakeLists.txt
|
mv tmp library/CMakeLists.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user