summaryrefslogtreecommitdiffstats
path: root/testing/usb-modeswitch/Makefile.patch
blob: d7f526aa1eac794f8de978935351672132b9a9ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/Makefile
+++ b/Makefile
@@ -21,11 +21,11 @@
 	install -D -m644 40-usb_modeswitch.rules $(RULESDIR)/40-usb_modeswitch.rules
 
 db-install:
-	install -m644 -t $(PREFIX)/share/usb_modeswitch ./usb_modeswitch.d/*
+	cp ./usb_modeswitch.d/* $(PREFIX)/share/usb_modeswitch
 
 db-install-packed:
 	cd ./usb_modeswitch.d; tar -czf ../configPack.tar.gz *
-	install -m644 -t $(PREFIX)/share/usb_modeswitch ./configPack.tar.gz
+	install -m644 $(PREFIX)/share/usb_modeswitch ./configPack.tar.gz
 	rm -f ./configPack.tar.gz