package-arm.sh 269 字节 原文件 审查 历史 永久链接 1 2 3 4 5 6 7 8 9 10 11 12 #!/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