11 lines
208 B
Bash
Executable File
11 lines
208 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# 切换到脚本所在目录
|
|
cd "$(dirname "$0")"
|
|
|
|
# 设置库文件路径为当前目录
|
|
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
|
|
|
|
# 执行程序并传递所有参数
|
|
./thermometry.exe "$@"
|