Skip to content
Permalink
Browse files

Use REPO path for checking edition

Change-Id: I26ada75d4c198ea08741f8ad1877316b7a0e19bd
  • Loading branch information...
LarsMichelsen committed Sep 12, 2018
1 parent 7f0240f commit 8c42a50f84d49ce7fb2bbc6e5f606f658336e0fe
Showing with 2 additions and 2 deletions.
  1. +2 −2 defines.make
@@ -28,15 +28,15 @@ REPO_PATH := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
EDITION := raw
EDITION_SHORT := cre

ifneq (,$(wildcard enterprise))
ifneq (,$(wildcard $(REPO_PATH)/enterprise))
ENTERPRISE := yes
EDITION := enterprise
EDITION_SHORT := cee
else
ENTERPRISE := no
endif

ifneq (,$(wildcard managed))
ifneq (,$(wildcard $(REPO_PATH)/managed))
MANAGED := yes
EDITION := managed
EDITION_SHORT := cme

0 comments on commit 8c42a50

Please sign in to comment.
You can’t perform that action at this time.