mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
projects-dir.mk, projs-dir.mk, pgit.sh: Set CVS_RSH unconditionally to wrapper
Problem is, the OS cvs package sets the environment variable to "ssh" in a profile script. Overriding this to speed things up. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
2b7ff850f0
commit
8477f45390
2 changed files with 6 additions and 11 deletions
|
|
@ -39,16 +39,11 @@ ifeq ($(JANWARE_USER),)
|
|||
export JANWARE_USER = $(shell id -un)
|
||||
endif
|
||||
|
||||
CWD := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
export CVSROOT = :ext:$(JANWARE_USER)@cvs.jannet.de:/home/jannet/arc/cvs
|
||||
|
||||
ifeq ($(CVS_RSH),)
|
||||
export CVS_RSH := ./ssh-wrapper.sh
|
||||
endif
|
||||
|
||||
ifeq ($(GIT_SSH),)
|
||||
export GIT_SSH := $(CVS_RSH)
|
||||
endif
|
||||
|
||||
export CVS_RSH := $(CWD)/ssh-wrapper.sh
|
||||
export GIT_SSH := $(CVS_RSH)
|
||||
export JW_BUILD_SSH_EXTRA_OPTS = -o ControlMaster=auto -o ControlPath=/tmp/%r@build:%p -o ControlPersist=3m
|
||||
|
||||
ifneq ($(CLONE_FROM_USER),)
|
||||
|
|
@ -106,7 +101,7 @@ init-project-%:
|
|||
$(CREATE_PROJECT_SH) $*
|
||||
|
||||
doc-project doc-module:
|
||||
$(BROWSER) $(firstword $(shell sed '/https:/ !d; s%.*https%https%; s/ .*//' $(firstword $(MAKEFILE_LIST))))
|
||||
$(BROWSER) $(firstword $(shell sed '/https:/ !d; s%.*https%https%; s/ .*//' $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
pkg-%: pull.done
|
||||
$(BUILD_PY) $@ $(BUILD_PROJECTS)
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ run()
|
|||
config
|
||||
cd $pdir
|
||||
|
||||
#set -e
|
||||
set -e
|
||||
for d in $pdirs; do
|
||||
marker $d
|
||||
git -C $d $cmd "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue