From 0d95354a8211812094432a28a3c6aa4d6c497895 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Tue, 16 Apr 2024 03:35:47 -0300 Subject: [PATCH] Made competitive party syntax no longer print the contents of PATH (#4397) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 89b442fe34..fffc03dfc6 100644 --- a/Makefile +++ b/Makefile @@ -339,7 +339,7 @@ $(CRY_SUBDIR)/uncomp_%.bin: $(CRY_SUBDIR)/uncomp_%.aif ; $(AIF) $< $@ $(CRY_SUBDIR)/%.bin: $(CRY_SUBDIR)/%.aif ; $(AIF) $< $@ --compress sound/%.bin: sound/%.aif ; $(AIF) $< $@ -COMPETITIVE_PARTY_SYNTAX := $(shell PATH=$(PATH); echo 'COMPETITIVE_PARTY_SYNTAX' | $(CPP) $(CPPFLAGS) -imacros include/global.h | tail -n1) +COMPETITIVE_PARTY_SYNTAX := $(shell PATH="$(PATH)"; echo 'COMPETITIVE_PARTY_SYNTAX' | $(CPP) $(CPPFLAGS) -imacros include/global.h | tail -n1) ifeq ($(COMPETITIVE_PARTY_SYNTAX),1) %.h: %.party tools ; $(CPP) $(CPPFLAGS) - < $< | sed '/#[^p]/d' | $(TRAINERPROC) -o $@ -i $< - endif