fix: Pre-set CVSROOT could break build process if local system user != \$JANWARE_USER

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-12-06 17:44:10 +00:00
commit e7fe51e6a2

View file

@ -46,22 +46,15 @@ ifeq ($(JANWARE_USER),)
export JANWARE_USER = $(shell id -un)
endif
export CVSROOT = :ext:$(JANWARE_USER)@cvs.jannet.de:/home/jannet/arc/cvs
export CVS_RSH = ssh
ifneq ($(CLONE_FROM_USER),)
export PGIT_CLONE_FROM_USER = $(CLONE_FROM_USER)
else
export PGIT_CLONE_FROM_USER=$(JANWARE_USER)
endif
ifeq ($(CVSROOT),)
CVSROOT = :ext:$(JANWARE_USER)@cvs.jannet.de:/home/jannet/arc/cvs
export CVSROOT
endif
ifeq ($(CVS_RSH),)
CVS_RSH = ssh
export CVS_RSH
endif
# ------------ commands
PGIT = CLONE_PROJECTS="$(PROJECTS)" /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/pgit.sh /opt/ytools/bin/pgit.sh) pgit.sh-not-found)