add debugging information to getsounds.sh
This commit is contained in:
parent
493fc64831
commit
f52d736ae0
|
@ -9,16 +9,19 @@ DIR=`pwd`
|
||||||
|
|
||||||
if [ -x "$WGET" ] ; then
|
if [ -x "$WGET" ] ; then
|
||||||
DOWNLOAD_CMD=$WGET
|
DOWNLOAD_CMD=$WGET
|
||||||
else
|
fi
|
||||||
if [ -x "$CURL" ] ; then
|
if [ "x${DOWNLOAD_CMD}" = "x" -a -x "$CURL" ] ; then
|
||||||
DOWNLOAD_CMD="$CURL -O"
|
DOWNLOAD_CMD="$CURL -O"
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
base=http://files.freeswitch.org/
|
base=http://files.freeswitch.org/
|
||||||
tarfile=$1
|
tarfile=$1
|
||||||
install=$2
|
install=$2
|
||||||
|
|
||||||
|
echo -n "#"
|
||||||
|
pwd
|
||||||
|
echo "# $0 $1 $2"
|
||||||
|
|
||||||
if [ ! -f $tarfile ] ; then
|
if [ ! -f $tarfile ] ; then
|
||||||
$DOWNLOAD_CMD $base$tarfile
|
$DOWNLOAD_CMD $base$tarfile
|
||||||
if [ ! -f $tarfile ] ; then
|
if [ ! -f $tarfile ] ; then
|
||||||
|
|
Loading…
Reference in New Issue