Small formatting fix to print the newline between HID and I2C lists

This commit is contained in:
Chris 2022-05-31 21:22:42 +10:00 committed by Adam Honse
parent 30c8c56a5e
commit c2163e2b99

View file

@ -183,7 +183,7 @@ do
while read -r detector
do
#Filter the list for all devices that use this detector
text=$(printf %s\n%s "$HID_LIST" "$I2C_LIST" | grep ${detector} | cut -d: -f 2- | sed -e 's/"//g')
text=$(printf "%s\n%s" "$HID_LIST" "$I2C_LIST" | grep ${detector} | cut -d: -f 2- | sed -e 's/"//g')
#Replace the detector string with the list of devices
detectors=${detectors/${detector}/${text}}