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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
331 B
Diff
Raw Normal View History

--- a/Makefile.am
+++ b/Makefile.am
2021-05-31 18:31:25 +00:00
@@ -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