Skip to content

Commit dabbcbe

Browse files
committed
Make ICU build script more robust
Don't depend on NO_UPDATE flag to determine whether to clean.
1 parent dd4d295 commit dabbcbe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

phases/15-icu.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ PROJECT=icu
88
GITHUB_REPO=unicode-org/icu
99
TAG=$(get_latest_github_release_tag $GITHUB_REPO release-)
1010

11-
# don't clean project for subsequent builds so that the build for the current
11+
# don't clean project for subsequent ABIs so that the build for the current
1212
# machine is preserved, and because each ABI builds into separate directory
13-
if [ "$NO_UPDATE" = true ]; then
13+
set -- $ABI_NAMES # splits space-separated ABI list into $1, $2 etc.
14+
if [ "${ABI_NAME}" != "$1" ]; then
1415
NO_CLEAN=true
1516
fi
1617

0 commit comments

Comments
 (0)