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