- Brace every $NAME that is directly followed by a non-ASCII character in the shell scripts: bash 3.2 in a UTF-8 locale read the first byte of the following character as part of the variable name and aborted under set -u (#4, #6). - setup.sh and d2rm_pack.py: the shader translation step is complete only when every entry in the completion marker is ok and every library file exists; the script's exit status is no longer hidden by a pipe (#5). - devbattery.sh / devlock.sh: a missing local timeout or ideviceinfo is reported as such and stops at once, instead of being reported as an offline device and polled for up to an hour (#7). - smoke_mac.sh builds its package for iPhone only regardless of the project default. Reported by @SakuraToErii. The setup.sh part of #4 was also submitted by @hubeiqiao in #6. Co-authored-by: hubeiqiao <12777592+hubeiqiao@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ if [ "${ACCEPT_ALL:-0}" != 1 ]; then
|
||||
elif ! printf '%s\n' "$CH" | grep -qvE '^(dm/gfx/|dm/ios/|docs/)|\.md$'; then SKIP="1 2 5 6 7 9"; SCOPE="改动只在 dm/gfx(及 dm/ios、文档)"; fi
|
||||
fi
|
||||
fi
|
||||
echo "SCOPE ${SCOPE}$([ -n "$SKIP" ] && echo ";跳过项序号 $SKIP(ACCEPT_ALL=1 强制全量)")"
|
||||
echo "SCOPE ${SCOPE}$([ -n "$SKIP" ] && echo ";跳过项序号 ${SKIP}(ACCEPT_ALL=1 强制全量)")"
|
||||
[ "${ACCEPT_SCOPE_ONLY:-0}" = 1 ] && exit 0
|
||||
# 并行子项都调用增量make;先在锁内只构建一次,避免冷树多个链接器争写同一个dmhost/dSYM。
|
||||
# The parallel sub-items all invoke an incremental make; build once first inside the lock, so that on a cold tree several linkers do not compete to write the same dmhost/dSYM.
|
||||
|
||||
Reference in New Issue
Block a user