depot/third_party/nixpkgs/pkgs/os-specific/linux/usbutils/fix-paths.patch

12 lines
331 B
Diff
Raw Normal View History

--- a/Makefile.am
+++ b/Makefile.am
@@ -61,7 +61,7 @@ EXTRA_DIST = \
LICENSES/GPL-3.0-only.txt
lsusb.py: $(srcdir)/lsusb.py.in
- sed 's|VERSION|$(VERSION)|g;s|@usbids@|$(datadir)/usb.ids|g' $< >$@
+ sed 's|VERSION|$(VERSION)|g;s|@usbids@|@hwdata@/share/hwdata/usb.ids|g' $< >$@
chmod 755 $@
lsusb.8: $(srcdir)/lsusb.8.in