gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: rm logfile function instead of


From: gnunet
Subject: [taler-deployment] branch master updated: rm logfile function instead of declaration for testing only
Date: Fri, 19 Jun 2020 09:26:00 +0200

This is an automated email from the git hooks/post-receive script.

buck pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 6d56fde  rm logfile function instead of declaration for testing only
6d56fde is described below

commit 6d56fde89d7b5389b9893095d235acd01d7b1a36
Author: buckE <buckE@disroot.org>
AuthorDate: Fri Jun 19 07:22:56 2020 +0000

    rm logfile function instead of declaration for testing only
---
 buildbot/build-docs.sh  |  9 ++++++++-
 buildbot/linkchecker.sh | 10 +++++-----
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/buildbot/build-docs.sh b/buildbot/build-docs.sh
index 21ac01e..78cdff0 100755
--- a/buildbot/build-docs.sh
+++ b/buildbot/build-docs.sh
@@ -12,7 +12,14 @@ fetch () {
 
 export PATH=$HOME/.local/bin:$PATH
 
-rm /home/docbuilder/sphinx-warnings.log
+logfile="/home/docbuilder/sphinx-warnings.log"
+if [ -f "$logfile" ]
+  then
+    echo $logfile " exists.  Moving to" $logfile".old."
+    mv $logfile $logfile.old
+  else
+          echo "Info: existing log file '$logfile' not found."
+fi
 
 cd $HOME/docs
 fetch
diff --git a/buildbot/linkchecker.sh b/buildbot/linkchecker.sh
index 519c7b8..2b24f7c 100755
--- a/buildbot/linkchecker.sh
+++ b/buildbot/linkchecker.sh
@@ -10,11 +10,11 @@ logfile="linkchecker.log"
 # Remove old log
 
 if [ -f "$logfile" ]
-then
-echo $logfile " exists.  Moving to" $logfile".old."
-mv $logfile $logfile.old
-else
-       echo "Info: existing log file '$logfile' not found."
+       then
+               echo $logfile " exists.  Moving to" $logfile".old."
+               mv $logfile $logfile.old
+       else
+               echo "Info: existing log file '$logfile' not found."
 fi
 
 # Use wget to scan www.taler.net and save output

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]