From 9195c4e03ed12863fec68f512c74db825dfc8f2d Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Tue, 3 Oct 2017 15:43:26 -0400 Subject: [PATCH] Add sed to fix invalid UTF-8 character in usb.ids --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 80c3e5e..1d801ab 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,9 @@ install: $(INSTALL_TARGETS-yes) fetch: $(Q)curl -z pci.ids -o pci.ids -R http://pci-ids.ucw.cz/v2.2/pci.ids $(Q)curl -z usb.ids -o usb.ids -R http://www.linux-usb.org/usb.ids + $(Q)sed -e 's/\x20\xB4/\x20\xC2\xB4/' usb.ids > usb.ids.temp + $(Q)touch -r usb.ids usb.ids.temp + $(Q)mv usb.ids.temp usb.ids $(Q)curl -z oui.txt -o oui.txt -R http://standards-oui.ieee.org/oui/oui.txt $(Q)curl -z ma-medium.txt -o ma-medium.txt -R http://standards-oui.ieee.org/oui28/mam.txt $(Q)curl -z ma-small.txt -o ma-small.txt -R http://standards-oui.ieee.org/oui36/oui36.txt -- 2.25.1