Le dimanche 2 août à 00h 13mn 59s (+0200), John Paul Adrian Glaubitz a écrit : > Hi! > > On 8/2/20 12:16 AM, jhcha54008 wrote: > >>> + is_ports_architecture=$(cat /usr/lib/choose-mirror/port_architecture) > >> Is there any good reason for this to be a subshell instead of read(1)? > > > > This syntax is in use elsewhere in the same file (line 48). > > Yes, it may be tempting to spare one shell sublevel and write > > > > read is_ports_architecture < /usr/lib/choose-mirror/port_architecture > > Btw, it should be "ports_architecture", not "port_architecture", as it's > "Debian Ports". > > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - glaub...@debian.org > `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Hi Adrian, Thank you for the clarification. However, this implies some changes in choose-mirror [1]. (Actually, the fault for the error is mine [2]) Regards, JH Chatenet [1] : https://salsa.debian.org/installer-team/choose-mirror/-/commit/7903740421626a2610d9b529f025e5a1289e0dc4 [2] : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879130#5