Skip to content

Commit 4d3eebe

Browse files
authored
Unset the IFS after using it for aliases
1 parent 4902aa8 commit 4d3eebe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/build-script-impl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3507,12 +3507,13 @@ function build_and_test_installable_package() {
35073507
call ${PLISTBUDDY_BIN} -c "Add Aliases array" "${DARWIN_TOOLCHAIN_INFO_PLIST}"
35083508

35093509
aliases_count=0
3510-
IFS=","
3510+
local IFS=","
35113511
for alias_name in ${DARWIN_TOOLCHAIN_ALIAS}
35123512
do
35133513
call ${PLISTBUDDY_BIN} -c "Add Aliases:${aliases_count} string '${alias_name}'" "${DARWIN_TOOLCHAIN_INFO_PLIST}"
35143514
aliases_count=$[$aliases_count +1]
35153515
done
3516+
unset IFS
35163517

35173518
call ${PLISTBUDDY_BIN} -c "Add OverrideBuildSettings dict" "${DARWIN_TOOLCHAIN_INFO_PLIST}"
35183519
call ${PLISTBUDDY_BIN} -c "Add OverrideBuildSettings:ENABLE_BITCODE string 'NO'" "${DARWIN_TOOLCHAIN_INFO_PLIST}"

0 commit comments

Comments
 (0)