Skip to contentSkip to conversation

libmpathcmd: Do not install header file as executable

PATCH In review Hannes Reinecke 2 participants 2 messages Jun 3, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 6/8 libmpathcmd: Do not install header file as executable

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

---
 libmpathcmd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libmpathcmd/Makefile +1 -1
index 0304ecc..6fca165 100644
@@ -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)
Signature · 1 line
2.6.6
#1 lore raw

Merged.

Quoted 25 lines · Hannes Reinecke

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

---
 libmpathcmd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libmpathcmd/Makefile +1 -2
index 0304ecc..6fca165 100644
@@ -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