mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
projects-dir.mk: Fix empty JANWARE_USER error
JW_BUILD_SSH_EXTRA_OPTS contains a -l $(JANWARE_USER), which make ssh break if $(JANWARE_USER) is empty. Fix that case. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
c37f2aaca3
commit
561905bab7
1 changed files with 5 additions and 1 deletions
|
|
@ -89,7 +89,11 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(filter pkg-%,$(MAKECMDGOALS)),)
|
ifeq ($(filter pkg-%,$(MAKECMDGOALS)),)
|
||||||
export JW_BUILD_SSH_EXTRA_OPTS += -o StrictHostKeyChecking=no -o ControlMaster=auto -o ControlPath=/tmp/%r@jw-build:%h:%p -o ControlPersist=3m -l $(JANWARE_USER)
|
JW_BUILD_SSH_EXTRA_OPTS += -o StrictHostKeyChecking=no -o ControlMaster=auto -o ControlPath=/tmp/%r@jw-build:%h:%p -o ControlPersist=3m
|
||||||
|
ifneq ($(JANWARE_USER),)
|
||||||
|
JW_BUILD_SSH_EXTRA_OPTS += -l $(JANWARE_USER)
|
||||||
|
endif
|
||||||
|
export JW_BUILD_SSH_EXTRA_OPTS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(EXCLUDE_FROM_BUILD),)
|
ifneq ($(EXCLUDE_FROM_BUILD),)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue