diff --git a/scripts/utils.inc b/scripts/utils.inc index 1728839e93..d2b0b3ec8e 100644 --- a/scripts/utils.inc +++ b/scripts/utils.inc @@ -207,7 +207,7 @@ function readJsonProp { # capturing group! -> all other groups start at index 2! function replaceJsonProp { local VALUE=$(readJsonProp $1 $2) - replaceInFile $1 $VALUE $3 + replaceInFile $1 "\"$1\": \"$VALUE\"" "\"$1\": \"$VALUE\"" $3 } # replaceInFile(file, findPattern, replacePattern)