Skip to content

Commit

Permalink
Merge pull request #533 from ulucinar/fix-makefile
Browse files Browse the repository at this point in the history
Fix SUBPACKAGES make variable
  • Loading branch information
ulucinar authored May 29, 2024
2 parents 91cc865 + bad3d66 commit 9941c1a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,11 @@ DEP_CONSTRAINT ?= >= 0.0.0
ifeq (-,$(findstring -,$(VERSION)))
DEP_CONSTRAINT = >= 0.0.0-0
endif
# Define SUBPACKAGES variable and set its value from PROVIDERS
SUBPACKAGES := $(PROVIDERS)
# Define XPKG_REG_ORGS variable and set its value from REPO
XPKG_REG_ORGS := $(REPO)

# use PROVIDERS in place of SUBPACKAGES if set
SUBPACKAGES := $(if $(PROVIDERS),$(PROVIDERS),$(SUBPACKAGES))
# use REPO in place of XPKG_REG_ORGS if set
XPKG_REG_ORGS := $(if $(REPO),$(REPO),$(XPKG_REG_ORGS))
load-pkg: $(UP) build.all
@$(INFO) Loading the family providers into the Docker daemon: $(SUBPACKAGES)
@for p in $(PLATFORMS); do \
Expand Down

0 comments on commit 9941c1a

Please sign in to comment.