Merge pull request #1367 from Pmodules/1366-update-bash-to-version-539

bash updated to version 5.3.9
This commit is contained in:
2026-02-05 13:21:59 +01:00
committed by GitHub
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -19,6 +19,8 @@
(#1356)
### other changesg
* Bash updated to version 5.3.9
(#1366)
* Download URL for Modules fixed.
(#1362)
+12
View File
@@ -9,6 +9,18 @@ DOWNLOAD_URL="https://ftp.gnu.org/gnu/$P/${FNAME}"
source "$(dirname "$0")/librecipes.bash"
if [[ "$V" == '5.3' ]]; then
cd "${SRC_DIR}"
for ((i=1; i<=9; i++)); do
patch_name="bash53-00$i"
src_file="${DOWNLOADS_DIR}/${patch_name}"
url="https://ftp.gnu.org/gnu/$P/$P-$V-patches/${patch_name}"
test -r "${src_file}" || curl -L --output "$_" "${url}" \
|| exit ${PB_ERR_DOWNLOAD}
patch -p0 < "${src_file}"
done
fi
#---
# configure
mkdir -p "${BUILD_DIR}" && cd "$_" || exit ${PB_ERR_SYSTEM}