projects-dir.mk: Use GIT_SSH instead of ssh to allow automatic build

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-04-11 19:15:58 +00:00
commit bcb67222be

View file

@ -33,6 +33,10 @@ ifeq ($(CVS_RSH),)
export CVS_RSH = ssh
endif
ifeq ($(GIT_SSH),)
export GIT_SSH = $(CVS_RSH)
endif
ifneq ($(CLONE_FROM_USER),)
export PGIT_CLONE_FROM_USER = $(CLONE_FROM_USER)
else
@ -51,8 +55,8 @@ BUILD_PY = python $(MOD_SCRIPT_DIR)/build.py -b $(shell pwd) $(BUILD_PY_EX
PURGE_SH = /bin/bash $(firstword $(wildcard $(MOD_SCRIPT_DIR)/purge-stale-projects.sh /opt/jw-build/bin/purge-stale-projects.sh) purge-not-found)
RELEASE_SH = /bin/bash $(firstword $(wildcard $(MOD_SCRIPT_DIR)/build-release.sh /opt/jw-build/bin/build-release.sh) release-not-found)
BROWSER ?= firefox
GIT_SRV_ADMIN = ssh $(JANWARE_USER)@git.jannet.de /opt/jw-build/bin/git-srv-admin.sh
CVS_ADMIN = ssh $(JANWARE_USER)@git.jannet.de /opt/jw-build/bin/cvs-admin.sh
GIT_SRV_ADMIN = $(GIT_SSH) $(JANWARE_USER)@git.jannet.de /opt/jw-build/bin/git-srv-admin.sh
CVS_ADMIN = $(GIT_SSH) $(JANWARE_USER)@git.jannet.de /opt/jw-build/bin/cvs-admin.sh
# ------------ targets