diff --git a/功能/TTC文件拆分.sh b/功能/TTC文件拆分.sh index 32de688..b7a4d65 100644 --- a/功能/TTC文件拆分.sh +++ b/功能/TTC文件拆分.sh @@ -33,9 +33,7 @@ if ! file "$ttc_file" | grep -q "TrueType font collection"; then fi echo "~ 正在使用 fonttool 拆分 TTC..." -"$FT_BIN" split "$ttc_file" "$WORK_DIR/ttc_separated" - -if [ $? -eq 0 ]; then +if "$FT_BIN" split "$ttc_file" "$WORK_DIR/ttc_separated"; then echo "~ 拆分成功" exit 0 else