gcc_release (build_tarfiles): Make directories mode 755, not 777.

* gcc_release (build_tarfiles): Make directories mode 755, not
	777.

From-SVN: r157874
This commit is contained in:
Joseph Myers 2010-03-31 17:26:13 +01:00 committed by Joseph Myers
parent 03af6e448f
commit d49d9a7df5
2 changed files with 8 additions and 3 deletions

View 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/.

View File

@ -9,7 +9,7 @@
# 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.
#
@ -276,8 +276,8 @@ build_tarfiles() {
# 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}`