mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-24 14:50:38 +01:00
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 <jan@janware.com>
This commit is contained in:
parent
4cb7ff2fdd
commit
c3d38b67b5
1 changed files with 5 additions and 3 deletions
|
|
@ -41,6 +41,8 @@ check_scm()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
ssh=ssh
|
ssh=ssh
|
||||||
[ "$CVS_RSH" ] && ssh="$CVS_RSH"
|
[ "$CVS_RSH" ] && ssh="$CVS_RSH"
|
||||||
[ "$GIT_SSH" ] && ssh="$GIT_SSH"
|
[ "$GIT_SSH" ] && ssh="$GIT_SSH"
|
||||||
|
|
@ -49,14 +51,14 @@ ssh=`which $ssh`
|
||||||
[ "$JANWARE_USER" ] || JANWARE_USER=`whoami`
|
[ "$JANWARE_USER" ] || JANWARE_USER=`whoami`
|
||||||
ssh="$ssh -l $JANWARE_USER"
|
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"
|
$ssh $host echo hallo >/dev/null 2>&1 || fatal "Can't ssh into host $host"
|
||||||
done
|
done
|
||||||
|
|
||||||
local_cvs_proj=`ls -d */CVS 2>/dev/null | sed 's%/[^/]*%%'`
|
local_cvs_proj=`ls -d */CVS 2>/dev/null | sed 's%/[^/]*%%'`
|
||||||
local_git_proj=`ls -d */.git 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_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.jannet.de git-srv-admin.sh -j list-personal-projects`
|
remote_git_proj=`$ssh git.janware.com git-srv-admin.sh -j list-personal-projects`
|
||||||
|
|
||||||
date=`date +'%Y%m%d'`
|
date=`date +'%Y%m%d'`
|
||||||
myname=`basename $0`
|
myname=`basename $0`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue