void-packages/srcpkgs/bash/files/update-bash-patches.sh

8 lines
226 B
Bash
Raw Normal View History

2019-01-18 23:55:31 +00:00
#!/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