mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-26 15:23:54 +01:00
fix: PROJECT = jw-pf-3dprinter -> jw-pf
The contents of the PROJECT variable was misdetected from the directory name in that everything after a number was discarded. This commit fixes that. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
8d1c1224e5
commit
55cc335140
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ endef
|
||||||
# ----- standard variables
|
# ----- standard variables
|
||||||
|
|
||||||
ifeq ($(PROJECT),)
|
ifeq ($(PROJECT),)
|
||||||
PROJECT := $(shell $(ECHO) $(patsubst $(FLAVOUR_PREFIX)%,%,$(notdir $(realpath $(TOPDIR)))) | $(SED) 's/-[0-9].*//')
|
PROJECT := $(shell $(ECHO) $(patsubst $(FLAVOUR_PREFIX)%,%,$(notdir $(realpath $(TOPDIR)))) | $(SED) 's/-[0-9]\+\..*//')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(wildcard $(TOPDIR)/.git),)
|
ifneq ($(wildcard $(TOPDIR)/.git),)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue