mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
export var to submakes
This commit is contained in:
parent
dcda4a8402
commit
e9544dc67d
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -34,9 +34,9 @@ _TEMPLATE_VARS := ARCH IMAGE_NAME IMAGE_REPO _IMAGE_REPO_DOUBLE_ESCA
|
||||||
_VOLID := $(firstword $(subst -, ,$(IMAGE_NAME)))-$(ARCH)-$(IMAGE_TAG)
|
_VOLID := $(firstword $(subst -, ,$(IMAGE_NAME)))-$(ARCH)-$(IMAGE_TAG)
|
||||||
|
|
||||||
ifeq ($(findstring redhat.repo,$(REPOS)),redhat.repo)
|
ifeq ($(findstring redhat.repo,$(REPOS)),redhat.repo)
|
||||||
_RHEL := true
|
export _RHEL := true
|
||||||
else
|
else
|
||||||
_RHEL := false
|
export _RHEL := false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(_RHEL),true)
|
ifeq ($(_RHEL),true)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue