[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#879151: debian-ports support when setting up sources.list



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 - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: