From 5dd383efffa065d8b02a4f45007968d6977014db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Thu, 5 Nov 2020 08:49:33 +0100 Subject: [PATCH] build: Remove duplicate BUILD_DIR variable. --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4b9fb3c9..6e43399f 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,9 @@ endif # remove special chars override _build_name := $(shell echo $(_build_name) | tr -dc '[:alnum:] ._-') +# make doesn't handle spaces well... replace them with underscores in paths +BUILD_DIR := "build-$(shell echo $(_build_name) | sed -e 's/ /_/g')" STEAM_DIR := $(HOME)/.steam/root -BUILD_DIR := $(_build_name) ifeq ($(build_name),) DEPLOY_DIR := $(shell git describe --tags --always) @@ -45,8 +46,6 @@ CONFIGURE_CMD := ../proton/configure.sh \ --steam-runtime-image=registry.gitlab.steamos.cloud/proton/soldier/sdk:$(protonsdk_version) \ --build-name="$(_build_name)" -# make doesn't handle spaces well... replace them with underscores in paths -BUILD_DIR := "build-$(shell echo $(_build_name) | sed -e 's/ /_/g')" all: help