summaryrefslogtreecommitdiff
path: root/package/lvm/patches/patch-scripts_Makefile_in
blob: af1cea8cb6a34ee69627773ea5d8883edd05293f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- LVM2.2.02.168.orig/scripts/Makefile.in	2016-12-01 00:17:31.000000000 +0100
+++ LVM2.2.02.168/scripts/Makefile.in	2017-03-27 20:49:38.000000000 +0200
@@ -51,7 +51,8 @@ vpath %.sh $(srcdir)
 vpath %.ocf $(srcdir)
 
 %_install: %.sh
-	$(INSTALL_PROGRAM) -D $< $(sbindir)/$(basename $(<F))
+	$(INSTALL_DIR) $(sbindir)
+	$(INSTALL_PROGRAM) $< $(sbindir)/$(basename $(<F))
 
 %_install: %.ocf
 	$(INSTALL_DIR) $(ocf_scriptdir)