This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=cf866171e3e498417b534500b677df8d6d6ced06

The branch, master has been updated
       via  cf866171e3e498417b534500b677df8d6d6ced06 (commit)
      from  8183aed43de727d0aead21c301c6390eb91685b3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cf866171e3e498417b534500b677df8d6d6ced06
Author: Fabio M. Di Nitto <[EMAIL PROTECTED]>
Date:   Wed May 21 09:12:31 2008 +0200

    [BUILD] Fix install permissions
    
    Virtually every distro was complaining about scripts
    permissions. Clearly we were doing it wrong. Fix them all.
    
    Signed-off-by: Fabio M. Di Nitto <[EMAIL PROTECTED]>

-----------------------------------------------------------------------

Summary of changes:
 rgmanager/src/resources/Makefile |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/rgmanager/src/resources/Makefile b/rgmanager/src/resources/Makefile
index 5e5897b..5d0268d 100644
--- a/rgmanager/src/resources/Makefile
+++ b/rgmanager/src/resources/Makefile
@@ -26,9 +26,9 @@ RESOURCES=fs.sh service.sh ip.sh nfsclient.sh nfsexport.sh \
 
 METADATA=apache.metadata openldap.metadata samba.metadata \
        mysql.metadata postgres-8.metadata tomcat-5.metadata \
-       named.metadata lvm.metadata
+       named.metadata lvm.metadata default_event_script.sl
 
-GENERAL_TARGETS=ocf-shellfuncs svclib_nfslock default_event_script.sl
+GENERAL_TARGETS=ocf-shellfuncs svclib_nfslock
 
 UTIL_TARGETS= \
        utils/ra-skelet.sh utils/messages.sh \
@@ -45,15 +45,18 @@ $(TARGET):
 install: all
        install -d ${sharedir}/utils
        for i in $(RESOURCES); do \
-        install $(S)/$$i ${sharedir}; \
+        install -m755 $(S)/$$i ${sharedir}; \
        done
-       for i in $(GENERAL_TARGETS) $(METADATA); do \
-        install -m 644 $(S)/$$i ${sharedir}; \
+       for i in $(METADATA); do \
+        install -m644 $(S)/$$i ${sharedir}; \
+       done
+       for i in $(GENERAL_TARGETS); do \
+        install -m755 $(S)/$$i ${sharedir}; \
        done
        for i in $(UTIL_TARGETS); do \
-        install $(S)/$$i ${sharedir}/utils; \
+        install -m755 $(S)/$$i ${sharedir}/utils; \
        done
-       install -m644 $(TARGET) ${sharedir}/utils
+       install -m755 $(TARGET) ${sharedir}/utils
 
 uninstall:
        ${UNINSTALL} ${RESOURCES} ${GENERAL_TARGETS} \


hooks/post-receive
--
Cluster Project

Reply via email to