Skip to content

Commit 9844b54

Browse files
committed
fix: JSON parsing regression in build
1 parent eeae32b commit 9844b54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ get_pio_envs_ending_with_string() {
9393
# $1 should be the environment name
9494
get_platform_for_env() {
9595
local env_name=$1
96-
echo "$PIO_CONFIG_JSON" | python3 -c "
96+
printf '%s' "$PIO_CONFIG_JSON" | python3 -c "
9797
import sys, json, re
9898
data = json.load(sys.stdin)
9999
for section, options in data:

0 commit comments

Comments
 (0)