mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
projects-dir.mk: Ditch auto-detection of interactive use
PS1 isn't set if make is run interactively, which is why auto-detection of interactive use doesn't work. Ditch that and introduce the INTERACTIVE variable, which can be passed as INTERACTIVE=[y|n]. Default value als of now is "n". Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
2ec9fcacab
commit
ae48f6aab6
1 changed files with 2 additions and 1 deletions
|
|
@ -98,7 +98,8 @@ ifneq ($(EXCLUDE_FROM_BUILD),)
|
|||
endif
|
||||
|
||||
# non-interactive mode
|
||||
ifeq ($(shell echo $$PS1),)
|
||||
INTERACTIVE ?= n
|
||||
ifneq ($(INTERACTIVE),y)
|
||||
DASH_Y := -y
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue