hysteria_docker/bin/utils/file_util.sh
2024-05-16 23:08:03 +08:00

6 lines
100 B
Bash

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