[4/4] maintainer-scripts/gcc_release: cleanup whitespace

Message ID 20231102084058.1142941-4-sam@gentoo.org
State Accepted
Headers
Series [1/4] contrib: add generate_snapshot_index.py |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Sam James Nov. 2, 2023, 8:39 a.m. UTC
  maintainer-scripts/
	* gcc_release: Cleanup whitespace.

Signed-off-by: Sam James <sam@gentoo.org>
---
 maintainer-scripts/gcc_release | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
  

Comments

Joseph Myers Nov. 2, 2023, 7 p.m. UTC | #1
On Thu, 2 Nov 2023, Sam James wrote:

> maintainer-scripts/
> 	* gcc_release: Cleanup whitespace.

OK.
  
Sam James Nov. 10, 2023, 11:35 p.m. UTC | #2
Joseph Myers <joseph@codesourcery.com> writes:

> On Thu, 2 Nov 2023, Sam James wrote:
>
>> maintainer-scripts/
>> 	* gcc_release: Cleanup whitespace.
>
> OK.

Thanks. Would you mind pushing the two you approved?
  
Joseph Myers Nov. 14, 2023, 12:21 a.m. UTC | #3
On Fri, 10 Nov 2023, Sam James wrote:

> Joseph Myers <joseph@codesourcery.com> writes:
> 
> > On Thu, 2 Nov 2023, Sam James wrote:
> >
> >> maintainer-scripts/
> >> 	* gcc_release: Cleanup whitespace.
> >
> > OK.
> 
> Thanks. Would you mind pushing the two you approved?

Done.
  

Patch

diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index cf6a5731c609..965163b65b74 100755
--- a/maintainer-scripts/gcc_release
+++ b/maintainer-scripts/gcc_release
@@ -153,7 +153,7 @@  build_sources() {
       # Update this ChangeLog file only if it does not yet contain the
       # entry we are going to add.  (This is a safety net for repeated
       # runs of this script for the same release.)
-      if ! grep "GCC ${RELEASE} released." ${SOURCE_DIRECTORY}/${x} > /dev/null ; then       
+      if ! grep "GCC ${RELEASE} released." ${SOURCE_DIRECTORY}/${x} > /dev/null ; then
 	cat - ${SOURCE_DIRECTORY}/${x} > ${SOURCE_DIRECTORY}/${x}.new <<EOF
 ${LONG_DATE}  Release Manager
 
@@ -278,7 +278,7 @@  EOF
 
   # Create a "MD5SUMS" file to use for checking the validity of the release.
   echo \
-"# This file contains the MD5 checksums of the files in the 
+"# This file contains the MD5 checksums of the files in the
 # gcc-"${RELEASE}".tar.xz tarball.
 #
 # Besides verifying that all files in the tarball were correctly expanded,
@@ -323,7 +323,7 @@  build_tarfiles() {
   chmod -R a+r ${SOURCE_DIRECTORY}
   # 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}`
 }
@@ -442,7 +442,7 @@  snapshot_print() {
 # Announce a snapshot, both on the web and via mail.
 announce_snapshot() {
   inform "Updating links and READMEs on the FTP server"
-  
+
   TEXT_DATE=`date --date=$DATE +%B\ %d,\ %Y`
   SNAPSHOT_README=${RELEASE}/README
   SNAPSHOT_INDEX=${RELEASE}/index.html
@@ -475,7 +475,7 @@  You'll find:
 <p>The <a href =\"https://gcc.gnu.org/\">GCC Project</a> makes
 periodic snapshots of the GCC source tree available to the public
 for testing purposes.</p>
-	
+
 <p>If you are planning to download and use one of our snapshots, then
 we highly recommend you join the GCC developers list.  Details for
 how to sign up can be found on the GCC project home page.</p>
@@ -484,7 +484,7 @@  how to sign up can be found on the GCC project home page.</p>
 with the following options: <code>"git://gcc.gnu.org/git/gcc.git branch ${GITBRANCH} revision ${GITREV}"</code></p>
 
 <table>" > ${SNAPSHOT_INDEX}
-       
+
   snapshot_print gcc-${RELEASE}.tar.xz "Complete GCC"
 
   echo \
@@ -554,7 +554,7 @@  FTP_PATH=/var/ftp/pub/gcc
 # The directory in which snapshots will be placed.
 SNAPSHOTS_DIR=${FTP_PATH}/snapshots
 
-# The major number for the release.  For release `3.0.2' this would be 
+# The major number for the release.  For release `3.0.2' this would be
 # `3'
 RELEASE_MAJOR=""
 # The minor number for the release.  For release `3.0.2' this would be
@@ -566,7 +566,7 @@  RELEASE_REVISION=""
 # The complete name of the release.
 RELEASE=""
 
-# The name of the branch from which the release should be made, in a 
+# The name of the branch from which the release should be made, in a
 # user-friendly form.
 BRANCH=""