mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk, projects-dir.mk, projs-dir.mk: Fix build on CentOS
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
a1adf68e47
commit
0c496d051e
2 changed files with 24 additions and 24 deletions
|
|
@ -44,13 +44,13 @@ GET_OS_SH = /bin/bash $(firstword $(wildcard $(MOD_SCRIPT_DIR)/get-o
|
|||
SSH_WRAPPER_SH := $(CWD)/ssh-wrapper.sh
|
||||
|
||||
EXCLUDES_FILE ?= exclude.txt
|
||||
EXCLUDES_FILES = exclude-$(shell $(GET_OS_SH) name).txt exclude-$(shell $(GET_OS_SH)).txt $(EXCLUDES_FILE)
|
||||
TEXT_FILES_CACHE ?= text-files.txt
|
||||
|
||||
ifneq ($(wildcard $(EXCLUDES_FILES)),)
|
||||
EXCLUDE_FROM_BUILD += $(shell sed 's/\#.*//g' $(wildcard $(EXCLUDES_FILES)))
|
||||
EXCLUDES_FILES = $(wildcard exclude-$(shell $(GET_OS_SH) name 2>/dev/null).txt exclude-$(shell $(GET_OS_SH) 2>/dev/null).txt $(EXCLUDES_FILE))
|
||||
ifneq ($(EXCLUDES_FILES),)
|
||||
EXCLUDE_FROM_BUILD += $(shell sed 's/\#.*//g' $(EXCLUDES_FILES))
|
||||
endif
|
||||
|
||||
TEXT_FILES_CACHE ?= text-files.txt
|
||||
|
||||
ifndef JANWARE_USER
|
||||
ifneq ($(wildcard CVS/Root),)
|
||||
JANWARE_USER = $(shell sed '/^:ext/ !d; s/:ext:\([^@]\+\)@.*/\1/' CVS/Root)
|
||||
|
|
@ -78,7 +78,7 @@ endif
|
|||
|
||||
export GIT_SSH := $(CVS_RSH)
|
||||
ifeq ($(filter pkg-%,$(MAKECMDGOALS)),)
|
||||
export JW_BUILD_SSH_EXTRA_OPTS += -o ControlMaster=auto -o ControlPath=/tmp/%r@jw-build:%p -o ControlPersist=3m -l $(JANWARE_USER)
|
||||
export JW_BUILD_SSH_EXTRA_OPTS += -o ControlMaster=auto -o ControlPath=/tmp/%r@jw-build:%h:%p -o ControlPersist=3m -l $(JANWARE_USER)
|
||||
endif
|
||||
|
||||
ifneq ($(CLONE_FROM_USER),)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue