mirror of
http://gitea.winboll.cc/Studio/WinBoLL.git
synced 2026-07-01 21:05:46 +08:00
修复git管理脚本
This commit is contained in:
@@ -72,6 +72,7 @@ libaes
|
||||
libappbase
|
||||
libdebugtemp
|
||||
libgpsrelaysentinel
|
||||
libwinboll
|
||||
local.properties-demo
|
||||
mymessagemanager
|
||||
positions
|
||||
@@ -81,13 +82,14 @@ winboll
|
||||
winboll.properties-demo
|
||||
)
|
||||
|
||||
# ====================== 5. 获取当前目录真实文件列表 ======================
|
||||
# ====================== 5. 获取当前目录真实文件列表(已替换标准排序ls命令) ======================
|
||||
REAL_ITEMS=()
|
||||
while IFS= read -r line; do
|
||||
if [[ "$line" != "." && "$line" != ".." ]]; then
|
||||
REAL_ITEMS+=("$line")
|
||||
fi
|
||||
done < <(ls -a)
|
||||
# 替换为固定ASCII排序、单列、无色彩输出,匹配白名单顺序
|
||||
done < <(LC_COLLATE=C ls -a1 --color=none)
|
||||
|
||||
# ====================== 6. 差异比对函数 ======================
|
||||
check_diff() {
|
||||
|
||||
@@ -78,7 +78,8 @@ winboll.properties-demo
|
||||
REAL_ITEMS=()
|
||||
while IFS= read -r line; do
|
||||
[[ $line != "." && $line != ".." ]] && REAL_ITEMS+=("$line")
|
||||
done < <(ls -a)
|
||||
# 替换为固定ASCII排序、单列无颜色输出,解决排序错乱问题
|
||||
done < <(LC_COLLATE=C ls -a1 --color=none)
|
||||
|
||||
check_diff(){
|
||||
local miss=() extra=()
|
||||
|
||||
Reference in New Issue
Block a user