OSDN Git Service

* gcc_release (build_tarfiles): Make directories mode 755, not
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 16:26:13 +0000 (16:26 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 16:26:13 +0000 (16:26 +0000)
777.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157874 138bc75d-0d04-0410-961f-82ee72b054a4

maintainer-scripts/ChangeLog
maintainer-scripts/gcc_release

index 7b02313..810b005 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-31  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcc_release (build_tarfiles): Make directories mode 755, not
+       777.
+
 2009-10-10  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * update_web_docs_svn: Update BUGURL to http://gcc.gnu.org/bugs/.
 2009-10-10  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * update_web_docs_svn: Update BUGURL to http://gcc.gnu.org/bugs/.
index ddcd22f..6ff6b2a 100755 (executable)
@@ -9,7 +9,7 @@
 # Contents:
 #   Script to create a GCC release.
 #
 # Contents:
 #   Script to create a GCC release.
 #
-# Copyright (c) 2001, 2002, 2006, 2009 Free Software Foundation.
+# Copyright (c) 2001, 2002, 2006, 2009, 2010 Free Software Foundation.
 #
 # This file is part of GCC.
 #
 #
 # This file is part of GCC.
 #
@@ -276,8 +276,8 @@ build_tarfiles() {
   # The GNU Coding Standards specify that all files should
   # world readable.
   chmod -R a+r ${SOURCE_DIRECTORY}
   # The GNU Coding Standards specify that all files should
   # world readable.
   chmod -R a+r ${SOURCE_DIRECTORY}
-  # And that all directories have mode 777.
-  find ${SOURCE_DIRECTORY} -type d -exec chmod 777 {} \;
+  # And that all directories have mode 755.
+  find ${SOURCE_DIRECTORY} -type d -exec chmod 755 {} \;
  
   # Build one huge tarfile for the entire distribution.
   build_tarfile gcc-${RELEASE} `basename ${SOURCE_DIRECTORY}`
  
   # Build one huge tarfile for the entire distribution.
   build_tarfile gcc-${RELEASE} `basename ${SOURCE_DIRECTORY}`