mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
fix bug of package arm
This commit is contained in:
parent
4992a9979a
commit
bcb54e6587
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue