summaryrefslogtreecommitdiff
path: root/build_tools/prep_tarball
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2010-11-16 20:50:31 +0000
committerRussell Bryant <russell@russellbryant.com>2010-11-16 20:50:31 +0000
commit0ac07c14bca848cade957b6f142d97d999172c95 (patch)
treebdbc54d13b72501c20f874c9475a081b1226a65e /build_tools/prep_tarball
parent5d613c436ba83756d955e2ee338644850ec4f809 (diff)
Merged revisions 295164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r295164 | russell | 2010-11-16 14:50:03 -0600 (Tue, 16 Nov 2010) | 2 lines Check for wikiexport.py in PATH and give a useful error message if not found. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@295165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'build_tools/prep_tarball')
-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