File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424# For Linux, also builds musl for truly static linking if
2525# musl is not installed.
2626
27- set -e
27+ set -e
2828set -o pipefail
2929
3030# load version info
@@ -72,10 +72,10 @@ tar -xf bash-${bash_version}.tar.gz
7272
7373echo " = patching bash"
7474bash_patch_prefix=$( echo " bash${bash_version} " | sed -e ' s/\.//g' )
75- for lvl in $( seq $bash_patch_level ) ; do
75+ for lvl in $( seq 1 $bash_patch_level ) ; do
7676 curl -LO http://ftp.gnu.org/gnu/bash/bash-${bash_version} -patches/" ${bash_patch_prefix} " -" $( printf ' %03d' " $lvl " ) "
7777 curl -LO http://ftp.gnu.org/gnu/bash/bash-${bash_version} -patches/" ${bash_patch_prefix} " -" $( printf ' %03d' " $lvl " ) " .sig
78- gpg --batch --verify " ${bash_patch_prefix} " -" $( printf ' %03d' " $lvl " ) " .sig " ${bash_patch_prefix} " -" $( printf ' %03d' " $lvl " ) "
78+ gpg --batch --verify " ${bash_patch_prefix} " -" $( printf ' %03d' " $lvl " ) " .sig " ${bash_patch_prefix} " -" $( printf ' %03d' " $lvl " ) "
7979
8080 pushd bash-${bash_version}
8181 patch -p0 < ../" ${bash_patch_prefix} " -" $( printf ' %03d' " $lvl " ) "
You can’t perform that action at this time.
0 commit comments