meso-web

Sources of the |Méso|Star> website
git clone git://git.meso-star.fr/meso-web.git
Log | Files | Refs | README | LICENSE

commit 500819f924a55db9f6e00adae97ae66cd1818089
parent 30ea20e9e0020d1d069e15461ec49c95c27967d1
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 23 Feb 2022 16:44:30 +0100

Fix shellcheck notifications

Diffstat:
Mmeso-menu.sh | 5++---
Mstar-engine/star_engine_build.sh | 3++-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meso-menu.sh b/meso-menu.sh @@ -321,10 +321,9 @@ print_star_engine_sub_menu() { if [ "${name}" = "${page}" ]; then echo " <li id=cur>${section}</li>" else + page_low=$(echo "${page}" | tr '[:upper:]' '[:lower:]') printf " <li><a href=%sstar-engine/%s.html>%s</a></li>" \ - "${root}" \ - "$(echo "${page}" | tr '[:upper:]' '[:lower:]')" \ - "${section}" + "${root}" "${page_low}" "${section}" fi done diff --git a/star-engine/star_engine_build.sh b/star-engine/star_engine_build.sh @@ -76,8 +76,9 @@ component() | sed 's/opyright (C)/opyright \&#169;/g') print_header Star-Engine "$1" + version=$(header_version "$3") - VERSION=$(header_version "$3") \ + VERSION="${version}" \ RELEASE_NOTES="${release_notes}" \ envsubst < "${section_lower}.html.in"