mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-20 05:37:38 +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)
|
export JANWARE_USER = $(shell id -un)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
export CVSROOT = :ext:$(JANWARE_USER)@cvs.jannet.de:/home/jannet/arc/cvs
|
||||||
|
export CVS_RSH = ssh
|
||||||
|
|
||||||
ifneq ($(CLONE_FROM_USER),)
|
ifneq ($(CLONE_FROM_USER),)
|
||||||
export PGIT_CLONE_FROM_USER = $(CLONE_FROM_USER)
|
export PGIT_CLONE_FROM_USER = $(CLONE_FROM_USER)
|
||||||
else
|
else
|
||||||
export PGIT_CLONE_FROM_USER=$(JANWARE_USER)
|
export PGIT_CLONE_FROM_USER=$(JANWARE_USER)
|
||||||
endif
|
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
|
# ------------ commands
|
||||||
|
|
||||||
PGIT = CLONE_PROJECTS="$(PROJECTS)" /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/pgit.sh /opt/ytools/bin/pgit.sh) pgit.sh-not-found)
|
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