fix: 优化脚本 Shebang, close #56

This commit is contained in:
Del Wang
2025-08-17 07:18:16 +08:00
parent 43e6739726
commit 1405eca23f
14 changed files with 39 additions and 25 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
@@ -28,7 +28,7 @@ apply_patches() {
# 清理临时文件
rm "$temp_patch"
elif [[ "$file" == *.sh ]]; then
sh "$file"
bash "$file"
fi
fi
done