void-packages/srcpkgs/bash/files/update-bash-patches.sh
2019-01-19 07:09:01 -02:00

7 lines
226 B
Bash
Executable file

#!/bin/bash
source ../template
for i in $(seq -w 001 ${_bash_patchlevel}); do
curl https://ftp.gnu.org/gnu/bash/bash-$_bash_distver-patches/bash${_bash_distver//./}-$i \
> bash${_bash_distver//./}-${_bash_patchlevel}
done