[svn-commits] russell: branch 1.8 r295164 - /branches/1.8/build_tools/prep_tarball

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Nov 16 14:50:08 CST 2010


Author: russell
Date: Tue Nov 16 14:50:03 2010
New Revision: 295164

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=295164
Log:
Check for wikiexport.py in PATH and give a useful error message if not found.

Modified:
    branches/1.8/build_tools/prep_tarball

Modified: branches/1.8/build_tools/prep_tarball
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/build_tools/prep_tarball?view=diff&rev=295164&r1=295163&r2=295164
==============================================================================
--- branches/1.8/build_tools/prep_tarball (original)
+++ branches/1.8/build_tools/prep_tarball Tue Nov 16 14:50:03 2010
@@ -8,6 +8,16 @@
 make -C sounds MENUSELECT_CORE_SOUNDS=CORE-SOUNDS-EN-GSM MENUSELECT_MOH=MOH-OPSOUND-WAV WGET=wget DOWNLOAD=wget all
 make AWK=awk GREP=grep menuselect-tree
 
+if ! which wiikiexport.py 2>&1 > /dev/null ; then
+	echo
+	echo "wikiexport.py not found in \${PATH}."
+	echo
+	echo "Please add repotools into PATH."
+	echo "    $ svn co http://svn.asterisk.org/svn/repotools"
+	echo
+	exit 1
+fi
+
 cd doc
 echo "Exporting Asterisk wiki to a PDF (this will take a minute) ..."
 wikiexport.py




More information about the svn-commits mailing list