mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
build.cmds.CmdListRepos: Support local repos
Make jw-projects.py list-repos support a local directory as base URL of all git repositories, notably used by PROJECTS_DIR_REMOTE_BASE, which can now point to a local directory. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
50a19954b4
commit
fa1f1f8b92
3 changed files with 18 additions and 2 deletions
|
|
@ -35,6 +35,8 @@ else ifneq ($(findstring ssh://git.janware.com,$(PROJECTS_DIR_REMOTE_BASE)),)
|
|||
$(warning Using janware SSH: $(PROJECTS_DIR_REMOTE_BASE))
|
||||
else ifneq ($(findstring https://,$(PROJECTS_DIR_REMOTE_BASE)),)
|
||||
$(warning Using HTTPS: $(PROJECTS_DIR_REMOTE_BASE))
|
||||
else ifneq ($(wildcard $(PROJECTS_DIR_REMOTE_BASE)),)
|
||||
$(warning Using local PROJECTS_DIR_REMOTE_BASE = $(PROJECTS_DIR_REMOTE_BASE))
|
||||
else
|
||||
$(error Unsupported PROJECTS_DIR_REMOTE_BASE="$(PROJECTS_DIR_REMOTE_BASE)")
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue