public inbox for gcc-cvs-wwwdocs@sourceware.org
help / color / mirror / Atom feed
From: jsm28@gcc.gnu.org
To: gcc-cvs-wwwdocs@gcc.gnu.org
Subject: gcc-wwwdocs branch master updated. 0a30539bc831d9f59b3a285ec9d37caa8b7c340b
Date: Sat, 11 Jan 2020 21:08:00 -0000	[thread overview]
Message-ID: <20200111210847.6070.qmail@sourceware.org> (raw)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".

The branch, master has been updated
       via  0a30539bc831d9f59b3a285ec9d37caa8b7c340b (commit)
      from  2236b153b573964f96b7217c6191941f303e1c94 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0a30539bc831d9f59b3a285ec9d37caa8b7c340b
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Sat Jan 11 21:07:53 2020 +0000

    Set umask and remove files before copying over them.
    
    Trying to avoid reported permissions problems with updates in some
    cases.

diff --git a/bin/post-receive b/bin/post-receive
index 1114efc..96c5129 100755
--- a/bin/post-receive
+++ b/bin/post-receive
@@ -23,6 +23,7 @@ cat > "$tmp"
 /sourceware/libre/infra/bin/post-receive-email < "$tmp"
 
 # Update web page checkouts, if applicable.
+umask 002
 while read old_value new_value ref_name; do
     if [ "$ref_name" != "refs/heads/master" ]; then
 	continue
diff --git a/bin/preprocess b/bin/preprocess
index 56f8383..c62ba45 100755
--- a/bin/preprocess
+++ b/bin/preprocess
@@ -143,6 +143,7 @@ process_html_file()
              $TMPDIR/output $fdest >/dev/null
         if [ $? -ne 0 ]; then
             echo "  Updating $fdest"
+            rm -f "$fdest"
             cp $TMPDIR/output $fdest
         fi
     fi

-----------------------------------------------------------------------

Summary of changes:
 bin/post-receive | 1 +
 bin/preprocess   | 1 +
 2 files changed, 2 insertions(+)


hooks/post-receive
-- 
gcc-wwwdocs


                 reply	other threads:[~2020-01-11 21:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200111210847.6070.qmail@sourceware.org \
    --to=jsm28@gcc.gnu.org \
    --cc=gcc-cvs-wwwdocs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).