You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`ftp.gnu.org` isn't intended for crowd-sourced binary downloads, instead they recommended using `ftpmirror.gnu.org`, which is way faster
this also add support for compiling bash with patches
I imagine the patch stuff should also apply for gawk, and gsed too - but that will be for later
Copy file name to clipboardExpand all lines: commands/setup-util-bash
+34-2Lines changed: 34 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,10 +49,42 @@ function setup_util_bash() (
49
49
source"$(type -P setup-util)"
50
50
51
51
# @todo support uninstall
52
+
53
+
# https://www.gnu.org/prep/ftp.html'
54
+
function__get_bash_patches {
55
+
local patches_url="$1"
56
+
fetch "$patches_url"| echo-regexp -gno --regexp='href="(bash[^"]+)' --replace='$1'| grep --invert-match --regexp='\.sig$'| sort # sort here, as dependning on the mirror, a different sort order will be returned, and they must be sorted by ascending name
0 commit comments