<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: b61fc39622ce76067852f142dcc5ec53a56c1c30 (commit)
from: f6dd557e5db9dacede48d26c98aee639378612f9 (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Anthony Minessale
comments:
add support for bz2 to getlibs
<span style="color: #000080; font-weight: bold">diff --git a/build/getlib.sh.in b/build/getlib.sh.in</span>
<span style="color: #000080; font-weight: bold">index ebad7b5..a42fe3a 100755</span>
<span style="color: #A00000">--- a/build/getlib.sh.in</span>
<span style="color: #00A000">+++ b/build/getlib.sh.in</span>
<span style="color: #800080; font-weight: bold">@@ -1,5 +1,8 @@</span>
#!/bin/sh
<span style="color: #00A000">+bz="false"</span>
<span style="color: #00A000">+</span>
<span style="color: #00A000">+BUNZUP=/usr/bin/bunzip2</span>
TAR=@TAR@
ZCAT=@ZCAT@
WGET=@WGET@
<span style="color: #800080; font-weight: bold">@@ -17,14 +20,26 @@ base=http://files.freeswitch.org/downloads/libs/</span>
tarfile=$1
url=`echo $tarfile | grep "://"`
<span style="color: #00A000">+if [ `echo $tarfile | grep bz2` ] ; then</span>
<span style="color: #00A000">+ bz="true"</span>
<span style="color: #00A000">+ UNZIPPER=$BUNZIP</span>
<span style="color: #00A000">+else</span>
<span style="color: #00A000">+ UNZIPPER=$ZCAT</span>
<span style="color: #00A000">+fi</span>
<span style="color: #00A000">+</span>
if [ ! -z $url ] ; then
base=$tarfile/
tarfile=$2
fi
if [ ! -d $tarfile ] ; then
<span style="color: #A00000">- uncompressed=`echo $tarfile | sed "s/\.tar\.gz//g"`</span>
<span style="color: #A00000">- uncompressed=`echo $uncompressed | sed "s/\.tgz//g"`</span>
<span style="color: #00A000">+</span>
<span style="color: #00A000">+ if [ $bz = "true" ] ; then</span>
<span style="color: #00A000">+        uncompressed=`echo $tarfile | sed "s/\.tar\.bz2//g"`</span>
<span style="color: #00A000">+ else </span>
<span style="color: #00A000">+        uncompressed=`echo $tarfile | sed "s/\.tar\.gz//g"`</span>
<span style="color: #00A000">+        uncompressed=`echo $uncompressed | sed "s/\.tgz//g"`</span>
<span style="color: #00A000">+ fi</span>
if [ ! -f $tarfile ] ; then
        rm -fr $uncompressed
<span style="color: #800080; font-weight: bold">@@ -35,7 +50,7 @@ if [ ! -d $tarfile ] ; then</span>
        fi
fi
if [ ! -d $uncompressed ] ; then
<span style="color: #A00000">-        $ZCAT -c -d $tarfile | $TAR xf -</span>
<span style="color: #00A000">+        $UNZIPPER -c -d $tarfile | $TAR xf -</span>
fi
fi
</pre></div>
========================================================================<pre>
Summary of changes:
build/getlib.sh.in | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
</pre>
<p>this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email<br />
For more info, see <a href="http://blog.chomperstomp.com/?p=630">http://blog.chomperstomp.com/?p=630</a>
-- <br />
FreeSWITCH Source</p>