Skip to content

Commit ee839a7

Browse files
committed
escape curly braces
1 parent 27a9d2b commit ee839a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apple/internal/resource_actions/app_intents.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,15 @@ an issue with the Apple BUILD rules with repro steps.
110110
set -euo pipefail
111111
112112
# sorts JSON file keys for deterministic output
113-
sort_json_file() {
113+
sort_json_file() {{
114114
local original_file="$1"
115-
local temp_file="${original_file}.sorted"
115+
local temp_file="${{original_file}}.sorted"
116116
117117
# Sort the JSON file keys
118118
"$DEVELOPER_DIR/usr/bin/python3" -m json.tool --compact --sort-keys "$original_file" > "$temp_file"
119119
# Replace original with sorted version
120120
mv "$temp_file" "$original_file"
121-
}
121+
}}
122122
123123
exit_status=0
124124
output=$($@ --sdk-root "$SDKROOT" --toolchain-dir "$DEVELOPER_DIR/Toolchains/XcodeDefault.xctoolchain" 2>&1) || exit_status=$?

0 commit comments

Comments
 (0)