aboutsummaryrefslogtreecommitdiffstats
path: root/package/usb_modeswitch_data/usb_modeswitch_data-fix-parallel-install.patch
blob: ba30499569db5cc5e3a96dc4537fe517711da373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Properly create the directory before creating it so that parallel
install work fine.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@
 	install -D --mode=644 40-usb_modeswitch.rules $(RULESDIR)/40-usb_modeswitch.rules
 
 db-install:
+	install -d $(PREFIX)/share/usb_modeswitch
 	install --mode=644 -t $(PREFIX)/share/usb_modeswitch ./usb_modeswitch.d/*
 
 db-install-packed: