asterisk/contrib/scripts/get_mp3_source.sh
Kevin P. Fleming 00b274ef4d Merged revisions 290026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290026 | kpfleming | 2010-10-02 12:57:13 -0500 (Sat, 02 Oct 2010) | 6 lines
  
  Allow users to pass additional arguments to the Subversion command that
  obtains the MP-3 source code.
  
  (reported on IRC by jmls)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-02 18:06:35 +00:00

15 lines
284 B
Bash
Executable file

#!/bin/sh -e
if [ -f addons/mp3/mpg123.h ]; then
echo "***"
echo "The MP3 source code appears to already be present and does not"
echo "need to be downloaded."
echo "***"
exit 1
fi
svn export http://svn.digium.com/svn/thirdparty/mp3/trunk addons/mp3 $@
exit 0