提交 87f61009 authored 作者: Ken Rice's avatar Ken Rice

FS-7574 #resolve Make curl in getg729.sh.in and getsounds.sh follow 3XX redirecrts

上级 fb9ad099
...@@ -9,7 +9,7 @@ if [ -f "$WGET" ] ; then ...@@ -9,7 +9,7 @@ if [ -f "$WGET" ] ; then
DOWNLOAD_CMD=$WGET DOWNLOAD_CMD=$WGET
else else
if [ -f "$CURL" ] ; then if [ -f "$CURL" ] ; then
DOWNLOAD_CMD="$CURL -O" DOWNLOAD_CMD="$CURL -L -O"
fi fi
fi fi
......
...@@ -12,7 +12,7 @@ if [ -x "$WGET" ]; then ...@@ -12,7 +12,7 @@ if [ -x "$WGET" ]; then
DOWNLOAD_CMD=$WGET DOWNLOAD_CMD=$WGET
fi fi
if [ "x${DOWNLOAD_CMD}" = "x" -a -x "$CURL" ] ; then if [ "x${DOWNLOAD_CMD}" = "x" -a -x "$CURL" ] ; then
DOWNLOAD_CMD="$CURL -O" DOWNLOAD_CMD="$CURL -L -O"
fi fi
base=http://files.freeswitch.org/ base=http://files.freeswitch.org/
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论