1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00
srs/trunk/scripts/package-raspberrypi.sh

15 lines
368 B
Bash
Raw Normal View History

2014-03-30 04:31:50 +00:00
#!/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