mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-21 23:37:58 +02:00
Merge pull request #1367 from Pmodules/1366-update-bash-to-version-539
bash updated to version 5.3.9
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
(#1356)
|
||||
|
||||
### other changesg
|
||||
* Bash updated to version 5.3.9
|
||||
(#1366)
|
||||
* Download URL for Modules fixed.
|
||||
(#1362)
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user