mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-22 22:20:39 +01:00
projects-dir.mk: Add support for CLONE_FROM_USER
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
fa7059b706
commit
870ed07f90
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ ifneq ($(PROJECTS),)
|
||||||
export PGIT_CLONE_PROJECTS = $(PROJECTS)
|
export PGIT_CLONE_PROJECTS = $(PROJECTS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(CLONE_FROM_USER),)
|
||||||
|
export PGIT_CLONE_FROM_USER = $(CLONE_FROM_USER)
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(wildcard projects.txt),)
|
ifneq ($(wildcard projects.txt),)
|
||||||
PROJECTS = $(shell cat projects.txt | sed '/^ *\#/ d')
|
PROJECTS = $(shell cat projects.txt | sed '/^ *\#/ d')
|
||||||
# TODO: this could be nicer
|
# TODO: this could be nicer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue