From e8f2bf1afa18e5d7eafccdf726db1e3fbeeca4b7 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 26 Jul 2016 13:47:23 +0000 Subject: [PATCH] fix: JANWARE_USER variable wasn't honoured in clone.done target Signed-off-by: Jan Lindemann --- make/projects-dir.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/make/projects-dir.mk b/make/projects-dir.mk index cee2e724..9b82aaf8 100644 --- a/make/projects-dir.mk +++ b/make/projects-dir.mk @@ -20,10 +20,6 @@ ifneq ($(PROJECTS),) export PGIT_CLONE_PROJECTS = $(PROJECTS) endif -ifneq ($(CLONE_FROM_USER),) - export PGIT_CLONE_FROM_USER = $(CLONE_FROM_USER) -endif - ifneq ($(wildcard projects.txt),) PROJECTS = $(shell cat projects.txt | sed '/^ *\#/ d') # TODO: this could be nicer @@ -49,7 +45,7 @@ ifeq ($(CVS_RSH),) export CVS_RSH endif -PGIT = CLONE_PROJECTS="$(PROJECTS)" CLONE_FROM_USER="$(shell whoami)" /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/pgit.sh /opt/ytools/bin/pgit.sh)) +PGIT = CLONE_PROJECTS="$(PROJECTS)" PGIT_CLONE_FROM_USER="$(JANWARE_USER)" /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/pgit.sh /opt/ytools/bin/pgit.sh)) EXCLUDE_FROM_BUILD = \ dspider-btools \