[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [repo-management] bin: Fix hostname in other script, and up severity since these are blocking action
From:       Jeff Mitchell <mitchell () kde ! org>
Date:       2013-03-29 21:03:18
Message-ID: 20130329210318.78E51A604F () git ! kde ! org
[Download RAW message or body]

Git commit 9e3790cf8ec69a259c478e4c40b3429943402b4f by Jeff Mitchell.
Committed on 29/03/2013 at 22:02.
Pushed by mitchell into branch 'master'.

Fix hostname in other script, and up severity since these are blocking actions

M  +1    -1    bin/anongit/update_repo_mirrors.sh
M  +1    -1    bin/generate_project_list.sh

http://commits.kde.org/repo-management/9e3790cf8ec69a259c478e4c40b3429943402b4f

diff --git a/bin/anongit/update_repo_mirrors.sh b/bin/anongit/update_repo_mirrors.sh
index 4359cec..554dc41 100755
--- a/bin/anongit/update_repo_mirrors.sh
+++ b/bin/anongit/update_repo_mirrors.sh
@@ -12,7 +12,7 @@ hostname=$(cat /home/git/thisanongithost)
 ~/repo-management/bin/verify_new_projects_list.pl ~/projects-to-anongit.list \
~/projects-to-anongit.list.new  if [ $? -ne 0 ]
 then
-  echo "Projects list file may have changed too much; not replacing current list and \
not continuing" | mail -r "sysadmin@kde.org" -s "WARNING: projects.list problem on \
$hostname" sysadmin@kde.org +  echo "Projects list file may have changed too much; \
not replacing current list and not continuing" | mail -r "sysadmin@kde.org" -s \
"ERROR: projects.list problem on $hostname" sysadmin@kde.org  rm /tmp/update_repo.txt
   exit 1
 fi
diff --git a/bin/generate_project_list.sh b/bin/generate_project_list.sh
index 29e071f..1edef3f 100755
--- a/bin/generate_project_list.sh
+++ b/bin/generate_project_list.sh
@@ -4,7 +4,7 @@
 
 if [ $? -ne 0 ]
 then
-  echo "Projects list file may have changed too much; not replacing current list" | \
mail -r "sysadmin@kde.org" -s "WARNING: projects.list problem on $HOSTNAME" \
sysadmin@kde.org +  echo "Projects list file may have changed too much; not replacing \
current list" | mail -r "sysadmin@kde.org" -s "ERROR: projects.list problem on \
git.kde.org" sysadmin@kde.org  exit 1
 fi
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic