From b250809e97211b65afb6a1bec7865dd56f801add Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 1 Mar 2023 09:59:10 +0100 Subject: [PATCH] :wrench: clean quoting in embed script --- scripts/embed.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/embed.bash b/scripts/embed.bash index fe213b1d..cc4ca5de 100644 --- a/scripts/embed.bash +++ b/scripts/embed.bash @@ -115,7 +115,7 @@ jq -rc '.[]' <<< "$libraries" | handle_lib "$path" "$name" done fi - ldflags=$(jq -c '.ldflags' <<< "$lib") + ldflags=$(jq -c '.ldflags' <<< "$lib" | sed -e 's/^"//' -e 's/"$//') if [ "$ldflags" != "null" ] then config "LDFLAGS += $ldflags" fi -- 2.43.0