diff --git a/hack/scw.mk b/hack/scw.mk index 32ccbff177..5b81d691c8 100644 --- a/hack/scw.mk +++ b/hack/scw.mk @@ -12,8 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -include commons.mk -include scw.*.mk +MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) +MKFILE_DIR := $(dir $(MKFILE_PATH)) + +include $(MKFILE_DIR)/commons.mk +include $(MKFILE_DIR)/scaleway.*.mk SCW_PROJECT = $(SCW_PROJECT_$(ENV)) SCW_REGION = $(SCW_REGION_$(ENV)) diff --git a/hack/scw.staging.mk b/hack/scw.staging.mk index fc49cb7035..fd33ecfbd9 100644 --- a/hack/scw.staging.mk +++ b/hack/scw.staging.mk @@ -1,5 +1,5 @@ -# Copyright (C) 2020 Nicolas Lamirault - +# Copyright (C) 2021 Nicolas Lamirault +# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at