Skip to content

Commit a3a1aa5

Browse files
authored
Merge pull request #1865 from MeshEnvy/fix/python-json-parse-error
fix: JSON parsing regression in build.sh
2 parents 219812b + 9844b54 commit a3a1aa5

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
@@ -96,7 +96,7 @@ get_pio_envs_ending_with_string() {
9696
# $1 should be the environment name
9797
get_platform_for_env() {
9898
local env_name=$1
99-
echo "$PIO_CONFIG_JSON" | python3 -c "
99+
printf '%s' "$PIO_CONFIG_JSON" | python3 -c "
100100
import sys, json, re
101101
data = json.load(sys.stdin)
102102
for section, options in data:

0 commit comments

Comments
 (0)