Skip to content

Commit

Permalink
Fix build when IDEBuildingContinueBuildingAfterErrors has never bee…
Browse files Browse the repository at this point in the history
…n set (#3024)

Signed-off-by: Brentley Jones <[email protected]>
  • Loading branch information
brentleyjones authored May 9, 2024
1 parent e7e60d2 commit 7683fae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ else
fi

# Respect the "Continue building after errors" setting
continue_building_value="$(defaults read com.apple.dt.Xcode IDEBuildingContinueBuildingAfterErrors 2>/dev/null)"
continue_building_value="$(defaults read com.apple.dt.Xcode IDEBuildingContinueBuildingAfterErrors 2>/dev/null || echo 0)"
if [ "$continue_building_value" == "1" ]; then
build_pre_config_flags+=("--keep_going")
else
Expand Down

0 comments on commit 7683fae

Please sign in to comment.