buildsys: make fwlist sort+concat atomic

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-03-12 16:02:05 +01:00
parent 7ee414693f
commit be53606e45

View File

@ -25,7 +25,9 @@ fw.list: fwlist-5.13.x-y-pve
fw.list: fwlist-5.15.5-1-pve
fw.list: fwlist-5.15.19-1-pve
fw.list: fwlist-5.15.27-1-pve
sort -u $^ > $@
rm -f $@.tmp $@
sort -u $^ > $@.tmp
mv $@.tmp $@
fwdata: linux-firmware.git/WHENCE dvb-firmware.git/README fw.list
rm -rf fwdata fwdata.tmp