mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
integrate-distro.sh: Use CVS_RSH or GIT_SSH to ssh into localhost
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e48700b459
commit
3fd044c974
2 changed files with 8 additions and 4 deletions
|
|
@ -44,11 +44,9 @@ check_scm()
|
|||
ssh=ssh
|
||||
[ "$CVS_RSH" ] && ssh="$CVS_RSH"
|
||||
[ "$GIT_SSH" ] && ssh="$GIT_SSH"
|
||||
[ "$JANWARE_USER" ] || JANWARE_USER=`whoami`
|
||||
ssh=`which $ssh`
|
||||
|
||||
[ -x "$ssh" ] || fatal "SSH executable \"$ssh\" not found"
|
||||
|
||||
[ "$JANWARE_USER" ] || JANWARE_USER=`whoami`
|
||||
ssh="$ssh -l $JANWARE_USER"
|
||||
|
||||
for host in cvs.jannet.de git.jannet.de; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue