summaryrefslogtreecommitdiff
path: root/package/lvm/patches/patch-scripts_Makefile_in
blob: ae8e644cce486a8fd0f85f7c56cbbafead7591e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- LVM2.2.02.79.orig/scripts/Makefile.in	2010-11-05 17:18:38.000000000 +0100
+++ LVM2.2.02.79/scripts/Makefile.in	2010-12-26 22:15:11.000000000 +0100
@@ -30,7 +30,8 @@ endif
 vpath %.sh $(srcdir)
 
 %_install: %.sh
-	$(INSTALL_PROGRAM) -D $< $(sbindir)/$(basename $(<F))
+	$(INSTALL_DIR) $(sbindir)
+	$(INSTALL_PROGRAM) $< $(sbindir)/$(basename $(<F))
 
 %_install: %.ocf
 	$(INSTALL_DIR) $(ocf_scriptdir)