[dm-devel] [PATCH 6/8] libmpathcmd: Do not install header file as executable

Hannes Reinecke hare at suse.de
Fri Jun 3 06:40:38 UTC 2016


Our build system complained that the mpath_cmd.h header file is
installed as executable.

Signed-off-by: Hannes Reinecke <hare at suse.com>
---
 libmpathcmd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmpathcmd/Makefile b/libmpathcmd/Makefile
index 0304ecc..6fca165 100644
--- a/libmpathcmd/Makefile
+++ b/libmpathcmd/Makefile
@@ -19,7 +19,7 @@ install: $(LIBS)
 	$(INSTALL_PROGRAM) -m 755 $(LIBS) $(DESTDIR)$(syslibdir)/$(LIBS)
 	ln -sf $(LIBS) $(DESTDIR)$(syslibdir)/$(DEVLIB)
 	$(INSTALL_PROGRAM) -d $(DESTDIR)$(incdir)
-	$(INSTALL_PROGRAM) -m 755 mpath_cmd.h $(DESTDIR)$(incdir)
+	$(INSTALL_PROGRAM) -m 644 mpath_cmd.h $(DESTDIR)$(incdir)
 
 uninstall:
 	rm -f $(DESTDIR)$(syslibdir)/$(LIBS)
-- 
2.6.6




More information about the dm-devel mailing list