1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00

fix bug of package arm

This commit is contained in:
winlin 2014-03-24 13:15:22 +08:00
parent 4992a9979a
commit bcb54e6587

View file

@ -1,3 +1,12 @@
#!/bin/bash #!/bin/bash
bash package.sh arm
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