mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
projects-dir[-minimal].mk: Don't default JANWARE_USER
Do not set JANWARE_USER to $(id -un) in case it's undefined. Instead, rely on it being set explicitly in the environment if so desired. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
dc5515df09
commit
fe81bd209e
2 changed files with 2 additions and 15 deletions
|
|
@ -22,12 +22,6 @@ JWBDIR_GIT_REMOTE ?= ssh://$(JANWARE_USER)@git.janware.com/srv/git/jan
|
|||
JWBDIR ?= $(notdir $(JWBDIR_GIT_REMOTE))
|
||||
PROJECTS_DIR_INCLUDE_MK = $(JWBDIR)/make/projects-dir-include.mk
|
||||
|
||||
ifndef JANWARE_USER
|
||||
JANWARE_USER = $(shell id -un)
|
||||
$(warning Assuming JANWARE_USER=$(JANWARE_USER) from id -un)
|
||||
$(warning Explicitly set environment variable JANWARE_USER to turn off this warning!)
|
||||
endif
|
||||
|
||||
-include local.mk
|
||||
|
||||
all:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue