diff options
author | Cem Keylan <cem@ckyln.com> | 2022-09-27 17:58:25 +0200 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2022-09-27 17:58:55 +0200 |
commit | 9cbfb3e864cce47ffc86fdff18575fc7e87cee49 (patch) | |
tree | 983e67bc48ced0f7974fbac4a6e0a8cd8bacad85 /extra/bash/build | |
parent | c25c66993104029153a91628794203059e3b75c9 (diff) | |
download | repository-9cbfb3e864cce47ffc86fdff18575fc7e87cee49.tar.gz |
bash: bump to 5.2
Diffstat (limited to 'extra/bash/build')
-rwxr-xr-x | extra/bash/build | 6 |
1 files changed, 4 insertions, 2 deletions
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 \ |