From 83ae61e5d7ac62da2cb8e678ae61dc71329bfa35 Mon Sep 17 00:00:00 2001 From: Cameron Beneteau Date: Sat, 26 Oct 2024 18:06:57 -0400 Subject: [PATCH] Update sed command (#251) --- firmware/cmake/generate_cubemx.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/cmake/generate_cubemx.mk b/firmware/cmake/generate_cubemx.mk index 2320f5bf7..cd1eb8943 100644 --- a/firmware/cmake/generate_cubemx.mk +++ b/firmware/cmake/generate_cubemx.mk @@ -32,7 +32,7 @@ CustomMakefile.mk: Makefile $(CUSTOM_TARGETS_FILE) Makefile: $(IOC_FILE) $(CUBEMX_GEN_SCRIPT_TEMPLATE) @echo "Autogenerating from CubeMX. If you don't want to do this, you must manually 'Generate Code' before building." # Create an file containing commands to generate the cubemx code. - sed $(CUBEMX_GEN_SCRIPT_TEMPLATE) -e 's/IOC_FILE/$(IOC_FILE)/g' > $(CUBEMX_GEN_SCRIPT) + sed -e 's/IOC_FILE/$(IOC_FILE)/g' $(CUBEMX_GEN_SCRIPT_TEMPLATE) > $(CUBEMX_GEN_SCRIPT) # Run the cubemx program to generate code. $(CUBEMX_JAVA) -jar "$(CUBEMX_PATH)" -q "$(CUBEMX_GEN_SCRIPT)" \ No newline at end of file