From 9cbfb3e864cce47ffc86fdff18575fc7e87cee49 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 27 Sep 2022 17:58:25 +0200 Subject: bash: bump to 5.2 --- extra/bash/build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'extra/bash/build') diff --git a/extra/bash/build b/extra/bash/build index abc3769a..964fa339 100755 --- a/extra/bash/build +++ b/extra/bash/build @@ -1,7 +1,9 @@ #!/bin/sh -e -for patch in bash51-0??; do - patch -p0 < "$patch" +bash_maj=${2%%.*} +bash_min=${2%.p*} bash_min=${bash_min#$bash_maj.} +for patch in "bash$bash_maj$bash_min-"0??; do + [ -f "$patch" ] && patch -p0 < "$patch" done ./configure \ -- cgit v1.2.3