commit 4c95284800f5c1ebdbcf46354a39f44867c370a9
parent afe392ec97ac3536be3b0892ae24a42691646f0f
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Sun, 21 Sep 2025 21:22:01 +0200
Fix the invocation of the print_downloads script
It must be invoked from the root of the working directory. In addition,
the argument defining the section from which it was invoked was
incorrect.
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/schiff/schiff-downloads.sh b/schiff/schiff-downloads.sh
@@ -23,7 +23,9 @@ set -e
echo '# Downloads'
# List of archives to download
-sh ../scripts/print_downloads.sh "${PWD%%*/}" Schiff Linux
+cd ..
+sh ./scripts/print_downloads.sh "${OLDPWD##*/}" Schiff Linux
+cd "${OLDPWD}"
# Release notes
sed -n '/^## Release notes/,/^## License/p' "${readme}" | sed '$d'
diff --git a/solstice/solstice-downloads.sh b/solstice/solstice-downloads.sh
@@ -23,7 +23,9 @@ set -e
echo '# Downloads'
# List of archives to download
-sh ../scripts/print_downloads.sh "${PWD%%/*}" Solstice Linux Windows
+cd ..
+sh ./scripts/print_downloads.sh "${OLDPWD##*/}" Solstice Linux Windows
+cd "${OLDPWD}"
# Release notes
sed -n '/^## Release notes/,/^## License/p' "${readme}" | sed '$d'