Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-04-28 18:58:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e85a46f88ea78200bb3a5ee392a3e2144053b5d9
e85a46f8
1 parent
6e8c0b96
fix bug of package script, donot default os
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
6 行删除
trunk/scripts/package.sh
trunk/scripts/package.sh
查看文件 @
e85a46f
...
...
@@ -10,7 +10,7 @@ echo "通用打包脚本,--help查看参数"
INSTALL
=
/usr/local/srs
# whether build for arm, only for ubuntu12.
help
=
NO
X86_64
=
YES
X86_64
=
NO
ARM
=
NO
PI
=
NO
...
...
@@ -36,7 +36,7 @@ do
--pi
)
PI
=
NO
;;
*
)
echo
"
$0
: error: invalid option
\"
$option
\"
"
echo
"
$0
: error: invalid option
\"
$option
\"
, @see
$0
--help
"
exit
1
;;
esac
...
...
@@ -49,9 +49,6 @@ if [ $help = yes ]; then
--x86-64 for x86-64 platform, configure/make/package.
--arm for arm cross-build platform, configure/make/package.
--pi for pi platform, configure/make/package.
default:
--x86-64
END
exit
0
fi
...
...
@@ -107,7 +104,7 @@ elif [ $X86_64 = YES ]; then
./configure --x86-x64 --prefix
=
$INSTALL
&&
make
)
>>
$log
2>&1
else
failed_msg
"invalid option, must be
x86-x64/arm/
pi, see --help"
;
exit
1;
failed_msg
"invalid option, must be
--x86-x64/--arm/--
pi, see --help"
;
exit
1;
fi
ret
=
$?
;
if
[[
0 -ne
${
ret
}
]]
;
then
failed_msg
"build srs failed"
;
exit
$ret
;
fi
ok_msg
"build srs success"
...
...
请
注册
或
登录
后发表评论