commit 75130b27f90b44dc3226916613dcc79057540de9
parent bf53fbece8eef94537162077a840dfeed0d1bc9e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Sun, 12 Jul 2026 14:48:54 +0200
Fix "hooks" use to sign archives
The paths to the generated checksums were not the right one.
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/art/hooks/00-sign-archives.sh b/art/hooks/00-sign-archives.sh
@@ -35,6 +35,6 @@ file="$(basename "${i}")" # Rm the "./" prefix
# 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##*/}" "${sign}"
+ printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}"
done
diff --git a/htrdr/hooks/00-sign-archives.sh b/htrdr/hooks/00-sign-archives.sh
@@ -35,6 +35,6 @@ find . -name "*Starter-Pack*.tar.gz" -o -name "*.nc.xz"\
# 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##*/}" "${sign}"
+ printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}"
done
diff --git a/solstice/hooks/00-sign-archives.sh b/solstice/hooks/00-sign-archives.sh
@@ -38,6 +38,6 @@ find . \
# 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##*/}" "${sign}"
+ printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}"
done
diff --git a/stardis/hooks/00-sign-archives.sh b/stardis/hooks/00-sign-archives.sh
@@ -35,6 +35,6 @@ find . -name "Stardis*.tar.gz" \
# 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##*/}" "${sign}"
+ printf '%s/%s/%s\n' "${OLDPWD##*/}" "${PWD##*/}" "${sign}"
done