From c3d38b67b526f23999003330c8eb885b23d22525 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 11 Dec 2018 16:44:29 +0000 Subject: [PATCH] Make CVSROOT point to cvs.janware.com:/srv/cvs Change the following occurrences: cvs.jannet.de -> cvs.janware.com /home/jannet/arc/cvs -> /srv/cvs git.jannet.de -> git.janware.com Signed-off-by: Jan Lindemann --- scripts/purge-stale-projects.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/purge-stale-projects.sh b/scripts/purge-stale-projects.sh index 750c1b6b..8a638d3e 100644 --- a/scripts/purge-stale-projects.sh +++ b/scripts/purge-stale-projects.sh @@ -41,6 +41,8 @@ check_scm() fi } +set -e + ssh=ssh [ "$CVS_RSH" ] && ssh="$CVS_RSH" [ "$GIT_SSH" ] && ssh="$GIT_SSH" @@ -49,14 +51,14 @@ ssh=`which $ssh` [ "$JANWARE_USER" ] || JANWARE_USER=`whoami` ssh="$ssh -l $JANWARE_USER" -for host in cvs.jannet.de git.jannet.de; do +for host in cvs.janware.com git.janware.com; do $ssh $host echo hallo >/dev/null 2>&1 || fatal "Can't ssh into host $host" done local_cvs_proj=`ls -d */CVS 2>/dev/null | sed 's%/[^/]*%%'` local_git_proj=`ls -d */.git 2>/dev/null | sed 's%/[^/]*%%'` -remote_cvs_proj=`$ssh cvs.jannet.de find /home/jannet/arc/cvs/proj -maxdepth 1 -mindepth 1 -type d -executable -readable | sed 's%.*/%%'` -remote_git_proj=`$ssh git.jannet.de git-srv-admin.sh -j list-personal-projects` +remote_cvs_proj=`$ssh cvs.janware.com find /srv/cvs/proj -maxdepth 1 -mindepth 1 -type d -executable -readable | sed 's%.*/%%'` +remote_git_proj=`$ssh git.janware.com git-srv-admin.sh -j list-personal-projects` date=`date +'%Y%m%d'` myname=`basename $0`