Skip to content

Commit 4843278

Browse files
Allow "Mbed TLS" as the project name in Doxygen
Previously the code only recognized the old spelling "mbed TLS", so it missed doxygen/input/doc_mainpage.h. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
1 parent 2b0d53a commit 4843278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bump_version.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ mv tmp tests/suites/test_suite_version.data
142142
[ $VERBOSE ] && echo "Bumping PROJECT_NAME in doxygen/mbedtls.doxyfile and doxygen/input/doc_mainpage.h"
143143
for i in doxygen/mbedtls.doxyfile doxygen/input/doc_mainpage.h;
144144
do
145-
sed -e "s/mbed TLS v[0-9\.]\{1,\}/mbed TLS v$VERSION/g" < $i > tmp
145+
sed -e "s/\\([Mm]bed TLS v\\)[0-9][0-9.]*/\\1$VERSION/g" < $i > tmp
146146
mv tmp $i
147147
done
148148

0 commit comments

Comments
 (0)