Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 6f93ef58a7533c8a808415aa213d71c1 > files > 3

automake14-1.4p6-20.fc13.src.rpm

diff -urN automake-1.4-p6/automake.in automake-1.4-p6.patched/automake.in
--- automake-1.4-p6/automake.in	2010-02-09 12:41:28.000000000 +0100
+++ automake-1.4-p6.patched/automake.in	2010-02-09 12:41:07.000000000 +0100
@@ -2338,7 +2338,7 @@
 	# Create dist directory.
 	$output_rules .= ("\t-rm -rf \$(distdir)\n"
 			  . "\tmkdir \$(distdir)\n"
-			  . "\t-chmod 777 \$(distdir)\n");
+			  . "\t-chmod 755 \$(distdir)\n");
     }
 
     # Only run automake in `dist' target if --include-deps and
@@ -2470,7 +2470,7 @@
 	     . "\t" . '    test -d $(distdir)/$$subdir ' . "\\\n"
 	     . "\t" . '    || mkdir $(distdir)/$$subdir ' . "\\\n"
 	     . "\t" . '    || exit 1; ' . "\\\n"
-	     . "\t" . '    chmod 777 $(distdir)/$$subdir; ' . "\\\n"
+	     . "\t" . '    chmod 755 $(distdir)/$$subdir; ' . "\\\n"
 	     . "\t" . '    (cd $$subdir'
 	     . ' && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$('
 	     . (($relative_dir eq '.') ? 'distdir' : 'top_distdir')
diff -urN automake-1.4-p6/Makefile.in automake-1.4-p6.patched/Makefile.in
--- automake-1.4-p6/Makefile.in	2010-02-09 12:41:28.000000000 +0100
+++ automake-1.4-p6.patched/Makefile.in	2010-02-09 12:40:56.000000000 +0100
@@ -469,7 +469,7 @@
 distdir: $(DISTFILES)
 	-rm -rf $(distdir)
 	mkdir $(distdir)
-	-chmod 777 $(distdir)
+	-chmod 755 $(distdir)
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
 	  if test -d $$d/$$file; then \
@@ -485,7 +485,7 @@
 	    test -d $(distdir)/$$subdir \
 	    || mkdir $(distdir)/$$subdir \
 	    || exit 1; \
-	    chmod 777 $(distdir)/$$subdir; \
+	    chmod 755 $(distdir)/$$subdir; \
 	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
 	      || exit 1; \
 	  fi; \