ensure NAME is always lowercase

This commit is contained in:
Lance Vick 2023-02-13 12:36:17 -08:00
parent be41f7cfe1
commit d0d66c2d57
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ DEFAULT_GOAL := $(or $(DEFAULT_GOAL),toolchain)
ARCH := $(or $(ARCH),x86_64) ARCH := $(or $(ARCH),x86_64)
TARGET := $(or $(TARGET),$(ARCH)) TARGET := $(or $(TARGET),$(ARCH))
PLATFORM := $(or $(PLATFORM),linux) PLATFORM := $(or $(PLATFORM),linux)
NAME := $(shell basename $(shell git rev-parse --show-toplevel)) NAME := $(shell basename $(shell git rev-parse --show-toplevel | tr A-Z a-z ))
IMAGE := local/$(NAME):latest IMAGE := local/$(NAME):latest
USER := $(shell id -u):$(shell id -g) USER := $(shell id -u):$(shell id -g)
CPUS := $(shell docker run -it debian nproc) CPUS := $(shell docker run -it debian nproc)