commit 1f1fb81451269b3ed0650f9a4052c735953a0de7
parent 3bff6213eacc30d611cdf1d1b4e798cbe2e6077c
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 5 Sep 2025 22:45:00 +0200
htrdr: corrects the version number
The version macro was not replaced as expected by its value as defined
in the configuration file.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/htrdr/htrdr.md.in b/htrdr/htrdr.md.in
@@ -298,7 +298,7 @@ Evaluate the installed `htrdr.profile` file in the current
shell to register `htrdr` against it. You can then run
`htrdr` and consult its manual pages:
- . ~/htrdr_${VERSION}/etc/htrdr.profile
+ . ~/htrdr_@VERSION@/etc/htrdr.profile
htrdr -h
man htrdr
diff --git a/htrdr/htrdr.sh b/htrdr/htrdr.sh
@@ -25,7 +25,7 @@ set -e
sed -n '/^## History/,$p' htrdr.md.in
sed -n '/^## Copyright/,$p' "${htrdr_readme}"
} \
-| sed "s/@VERSION@/$2/g" \
+| sed "s/@VERSION@/${htrdr_version}/g" \
| sed 's/https:\/\/gitlab.com\/meso-star\/htrdr\/-\/blob\/master\/doc\/htrdr-materials\.5\.txt/man\/man5\/htrdr-materials.5.html/g' \
| sed 's/https:\/\/gitlab.com\/meso-star\/htrdr\/-\/blob\/master\/doc\/htrdr-obj\.5\.txt/man\/man5\/htrdr-obj.5.html/g' \
| sed 's/https:\/\/gitlab.com\/meso-star\/mrumtl\/-\/blob\/master\/doc\/mrumtl\.5\.txt/man\/man5\/mrumtl.5.html/g'