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

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


Author: russell
Date: Tue Nov 16 16:41:11 2010
New Revision: 295278

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=295278
Log:
Check for pdftotext and give a useful error 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=295278&r1=295277&r2=295278
==============================================================================
--- branches/1.8/build_tools/prep_tarball (original)
+++ branches/1.8/build_tools/prep_tarball Tue Nov 16 16:41:11 2010
@@ -18,6 +18,15 @@
 	exit 1
 fi
 
+if ! which pdftotext 2>&1 > /dev/null ; then
+	echo
+	echo "pdftotext not found.  Please install it."
+	echo
+	echo "On Debian/Ubuntu/Fedora/CentOS, install the poppler-utils package."
+	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