File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- ROOT_DIR_RELATIVE := .
15
+ export REPO_ROOT := $( shell git rev-parse --show-toplevel)
16
16
17
- include $(ROOT_DIR_RELATIVE ) /common.mk
17
+ include $(REPO_ROOT ) /common.mk
18
18
19
19
# Directories
20
- TOOLS_DIR := hack/tools
20
+ TOOLS_DIR := $( REPO_ROOT ) / hack/tools
21
21
TOOLS_DIR_DEPS := $(TOOLS_DIR ) /go.sum $(TOOLS_DIR ) /go.mod $(TOOLS_DIR ) /Makefile
22
22
TOOLS_BIN_DIR := $(TOOLS_DIR ) /bin
23
23
BIN_DIR ?= bin
24
24
RELEASE_DIR ?= out
25
25
26
- export REPO_ROOT := $(shell git rev-parse --show-toplevel)
27
26
GH_REPO ?= kubernetes-sigs/cluster-api-provider-cloudstack
28
27
29
28
# Binaries
71
70
# Options are set to exit when a recipe line exits non-zero or a piped command fails.
72
71
# SHELL = /usr/bin/env bash -o pipefail
73
72
.SHELLFLAGS = -ec
74
-
75
73
# Quiet Ginkgo for now.
76
74
# The warnings are in regards to a future release.
77
75
export ACK_GINKGO_DEPRECATIONS := 1.16.5
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- include $(ROOT_DIR_RELATIVE ) /versions.mk
15
+ include $(REPO_ROOT ) /versions.mk
16
16
17
17
# Ensure Make is run with bash shell as some syntax below is bash-specific
18
18
SHELL: =bash
19
19
.ONESHELL :
20
- .SHELLFLAGS := -eu -o pipefail -c
20
+ # .SHELLFLAGS := -eu -o pipefail -c
21
21
.DELETE_ON_ERROR :
22
22
MAKEFLAGS += --no-builtin-rules
23
23
24
- TOOLS_DIR := $(ROOT_DIR_RELATIVE ) /hack/tools
24
+ TOOLS_DIR := $(REPO_ROOT ) /hack/tools
25
25
TOOLS_DIR_DEPS := $(TOOLS_DIR ) /go.sum $(TOOLS_DIR ) /go.mod $(TOOLS_DIR ) /Makefile
26
26
TOOLS_BIN_DIR := $(TOOLS_DIR ) /bin
27
27
UID := $(shell id -u)
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- ROOT_DIR_RELATIVE := ../..
16
- include $(ROOT_DIR_RELATIVE ) /common.mk
15
+ export REPO_ROOT := $( shell git rev-parse --show-toplevel)
16
+ include $(REPO_ROOT ) /common.mk
17
17
18
18
UNAME := $(shell uname -s)
19
19
You can’t perform that action at this time.
0 commit comments