aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-11-16 20:50:03 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-11-16 20:50:03 +0000
commit38ab8a02581dff25fecd869a2086a51923a4002d (patch)
treec5dd4c5f858a73fa384cbbeaa11496fe5d4ef5f7 /build_tools
parent49439bcc19356df87fc95c0a1e8d13aec732377d (diff)
Check for wikiexport.py in PATH and give a useful error message if not found.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@295164 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/prep_tarball10
1 files changed, 10 insertions, 0 deletions
diff --git a/build_tools/prep_tarball b/build_tools/prep_tarball
index e101c5d03..9ce249dff 100755
--- a/build_tools/prep_tarball
+++ b/build_tools/prep_tarball
@@ -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