File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apple/internal/resource_actions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
123123exit_status=0
124124output=$($@ --sdk-root "$SDKROOT" --toolchain-dir "$DEVELOPER_DIR/Toolchains/XcodeDefault.xctoolchain" 2>&1) || exit_status=$?
You can’t perform that action at this time.
0 commit comments