summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorYueh-Shun Li <shamrocklee@posteo.net>2025-12-18 06:20:24 +0800
committerYueh-Shun Li <shamrocklee@posteo.net>2025-12-19 22:44:12 +0800
commitfc180191def1822535c9d54e71f56574b1964fe8 (patch)
tree70f397087083c4791ca8d33684e20fb4c735142e /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent1e5ca4eadb86cc483ad239163354ee3723e24818 (diff)
fetchurl: builder.sh: handle `urls` as a Bash array
Clean up leftover for commit cd13136f036d ("fetchurl: use __structuredAttrs = true and pass curlOptsList directly") Continue the work of commit 23236b331d06 ("fetchurl: fix handling of fallback URLs"), addressing a Bash array re-assignment quirk: when assigning a Bash array variable as if it were a plain variable, the value goes to the first element, and the rest of the array stays the same. ```console $ foo=(a b) $ declare -p foo declare -a foo=([0]="a" [1]="b") $ foo="c d" $ declare -p foo declare -a foo=([0]="c d" [1]="b") ``` Don't rewrite the `${urls[@]}` with resolved URLs, but hold them with `${resolvedUrls[@]}` instead. Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk> Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions