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 fecf792f2baae4c241a9941cd0c68abb84875e41
parent be7ab9a6e5b584aeb05db5bf26dd72695e546157
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 25 Aug 2025 12:09:46 +0200

Fixed minor issues in solstice hooks

Log messages were incorrectly redirected to standard error, and an
unused variable was declared.

Diffstat:
Msolstice/hooks/00-extract-archive.sh | 1+
Msolstice/hooks/01-generate-man.sh | 5+++--
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/solstice/hooks/00-extract-archive.sh b/solstice/hooks/00-extract-archive.sh @@ -19,4 +19,5 @@ set -e . "./config.in" +>&2 printf 'Extracting %s\n' "${arch}" tar -xz -f "${arch}" "${directory}/share/man" "${readme}" diff --git a/solstice/hooks/01-generate-man.sh b/solstice/hooks/01-generate-man.sh @@ -49,7 +49,6 @@ fi man_pages | while read -r i; do filename="$(basename "${i}")" - prefix="${filename%.*}" section="${filename##*.}" if ! [ -d "./man/man${section}" ]; then @@ -61,9 +60,11 @@ man_pages | while read -r i; do # Check the result of the HTML conversion if ! tidy --show-info no --show-filename yes -qe "${dst}"; then - >2 printf '%s: error converting %s\n' "${0##*/}" "${i}" + >&2 printf '%s: error converting %s\n' "${0##*/}" "${i}" exit 1 fi + # Write the generated files to standard output to inform the build + # system which files it needs to handle during installation. printf '%s/%s\n' "${PWD##*/}" "${dst}" done