提交 5cd4a3d0 authored 作者: Stefan Knoblich's avatar Stefan Knoblich

Add quotes (fbsd sh needs them) and check if the command can be executed

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7982 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 43f2016b
...@@ -7,10 +7,10 @@ CURL=@CURL@ ...@@ -7,10 +7,10 @@ CURL=@CURL@
DIR=`pwd` DIR=`pwd`
if [ -f $WGET ] ; then if [ -x "$WGET" ] ; then
DOWNLOAD_CMD=$WGET DOWNLOAD_CMD=$WGET
else else
if [ -f $CURL ] ; then if [ -x "$CURL" ] ; then
DOWNLOAD_CMD="$CURL -O" DOWNLOAD_CMD="$CURL -O"
fi fi
fi fi
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论