summaryrefslogtreecommitdiff
path: root/package/lvm/patches/patch-scripts_Makefile_in
blob: 1886a19302d270c67432cee0685e83b03b56ef4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- LVM2.2.02.72.orig/scripts/Makefile.in	Thu May 20 16:45:17 2010
+++ LVM2.2.02.72/scripts/Makefile.in	Fri Jul 30 09:26:25 2010
@@ -25,7 +25,8 @@ endif
 vpath %.sh $(srcdir)
 
 %_install: %.sh
-	$(INSTALL_PROGRAM) -D $< $(sbindir)/$(basename $(<F))
+	$(INSTALL_DIR) $(sbindir)
+	$(INSTALL_PROGRAM) $< $(sbindir)/$(basename $(<F))
 
 install_lvm2: $(SCRIPTS:.sh=_install)