This commit is contained in:
vincent 2024-05-16 23:08:03 +08:00
parent 1036fc92c3
commit 80c0c43b2a

6
bin/utils/file_util.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
# 获取脚本所在目录
function script_dir() {
echo $(cd "$(dirname "$0")"; pwd)
}