From 658d31a712f5e4796025b03956331af4551fcd4b Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Tue, 17 Nov 2020 13:13:51 +0200 Subject: [PATCH] Fix sed call --- .github/workflows/windows.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 7e6d7a5..7f2b9f0 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -42,7 +42,8 @@ jobs: sed -i 's/typedef struct ALCcontext_struct ALCcontext/struct ALCcontext/g' ofOpenALSoundPlayer.h - name: Apply makefile common patch working-directory: ./openFrameworks/libs/openFrameworksCompiled/project/makefileCommon - run: sed -i "s#$(foreach var_line, $(subst $(space),?,$(shell cat $(addon)/addon_config.mk | tr '\n' '\t'))#$(foreach var_line, $(shell cat $(addon)/addon_config.mk | tr '\n ' '\t?')#g" config.addons.mk + run: | + sed -i 's+\$(foreach var_line, \$(subst $(space),\?,\$(shell cat \$(addon)/addon_config.mk | tr \'\n\' \'\t\')),+\$(foreach var_line, \$(shell cat \$(addon)/addon_config.mk | tr \'\n \' \'\t?\'),+g' config.addons.mk - name: Compile openFrameworks working-directory: ./openFrameworks/scripts/msys2 run: ./compileOF.sh