The permissions are already set correctly by the installation script, so it
it not necessary to re-do it afterwards, it makes the code more complex and
error prone, so this patch removes these chmods.

Signed-off-by: Christophe CURIS <christophe.cu...@free.fr>
---
 WINGs/po/Makefile.am      | 3 ---
 WPrefs.app/po/Makefile.am | 3 ---
 po/Makefile.am            | 3 ---
 util/po/Makefile.am       | 3 ---
 4 files changed, 12 deletions(-)

diff --git a/WINGs/po/Makefile.am b/WINGs/po/Makefile.am
index ea5695f..ddc0edc 100644
--- a/WINGs/po/Makefile.am
+++ b/WINGs/po/Makefile.am
@@ -88,13 +88,10 @@ WINGs.pot: $(POTFILES)
 
 install-data-local:  $(CATALOGS)
        $(mkinstalldirs) $(DESTDIR)$(nlsdir)
-       chmod 755 $(DESTDIR)$(nlsdir) 
        for n in $(CATALOGS) __DuMmY ; do \
                if test "$$n" -a "$$n" != "__DuMmY" ; then \
                        l=`basename $$n .mo`; \
                        $(mkinstalldirs) $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
-                       chmod 755 $(DESTDIR)$(nlsdir)/$$l; \
-                       chmod 755 $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
                        $(INSTALL_DATA) -m 644 $$n 
$(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES/WINGs.mo; \
                fi; \
        done
diff --git a/WPrefs.app/po/Makefile.am b/WPrefs.app/po/Makefile.am
index a0a2bcb..393900f 100644
--- a/WPrefs.app/po/Makefile.am
+++ b/WPrefs.app/po/Makefile.am
@@ -55,13 +55,10 @@ WPrefs.pot: $(POTFILES)
 
 install-data-local:  $(CATALOGS)
        $(mkinstalldirs) $(DESTDIR)$(nlsdir)
-       chmod 755 $(DESTDIR)$(nlsdir) 
        for n in $(CATALOGS) __DuMmY ; do \
                if test "$$n" -a "$$n" != "__DuMmY" ; then \
                        l=`basename $$n .mo`; \
                        $(mkinstalldirs) $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
-                       chmod 755 $(DESTDIR)$(nlsdir)/$$l; \
-                       chmod 755 $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
                        $(INSTALL_DATA) -m 644 $$n 
$(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES/WPrefs.mo; \
                fi; \
        done
diff --git a/po/Makefile.am b/po/Makefile.am
index 3c5b013..da9b1e0 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -83,13 +83,10 @@ WindowMaker.pot: $(POTFILES)
 
 install-data-local:  $(CATALOGS)
        $(mkinstalldirs) $(DESTDIR)$(nlsdir)
-       chmod 755 $(DESTDIR)$(nlsdir) 
        for n in $(CATALOGS) __DuMmY ; do \
                if test "$$n" -a "$$n" != "__DuMmY" ; then \
                        l=`basename $$n .mo`; \
                        $(mkinstalldirs) $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
-                       chmod 755 $(DESTDIR)$(nlsdir)/$$l; \
-                       chmod 755 $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
                        $(INSTALL_DATA) -m 644 $$n 
$(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES/WindowMaker.mo; \
                fi; \
        done
diff --git a/util/po/Makefile.am b/util/po/Makefile.am
index 31774a3..f73a03b 100644
--- a/util/po/Makefile.am
+++ b/util/po/Makefile.am
@@ -30,13 +30,10 @@ wmgenmenu.pot: $(POTFILES)
 
 install-data-local:  $(CATALOGS)
        $(mkinstalldirs) $(DESTDIR)$(nlsdir)
-       chmod 755 $(DESTDIR)$(nlsdir)
        for n in $(CATALOGS) __DuMmY ; do \
                if test "$$n" -a "$$n" != "__DuMmY" ; then \
                        l=`basename $$n .mo`; \
                        $(mkinstalldirs) $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
-                       chmod 755 $(DESTDIR)$(nlsdir)/$$l; \
-                       chmod 755 $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
                        $(INSTALL_DATA) -m 644 $$n 
$(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES/wmgenmenu.mo; \
                fi; \
        done
-- 
2.1.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to