mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
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:
parent
360c7bca39
commit
e7fe51e6a2
1 changed files with 3 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue