mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
14 lines
368 B
Bash
Executable file
14 lines
368 B
Bash
Executable file
#!/bin/bash
|
||
|
||
echo "在RaspberryPi下直接打包,不编译直接打包(编译慢,手工编译)"
|
||
|
||
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 --no-build
|