mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
12 lines
269 B
Bash
Executable file
12 lines
269 B
Bash
Executable file
#!/bin/bash
|
|
|
|
echo "argv[0]=$0"
|
|
if [[ ! -f $0 ]]; then
|
|
echo "directly execute the scripts on shell.";
|
|
work_dir=`pwd`
|
|
else
|
|
echo "execute scripts in file: $0";
|
|
work_dir=`dirname $0`; work_dir=`(cd ${work_dir} && pwd)`
|
|
fi
|
|
|
|
bash ${work_dir}/package.sh arm
|