summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
Diffstat (limited to 'download')
-rwxr-xr-xdownload7
1 files changed, 3 insertions, 4 deletions
diff --git a/download b/download
index 9ab936f4c49b..a17a1e48d24c 100755
--- a/download
+++ b/download
@@ -159,10 +159,6 @@ done
rm $TARFILE_LOCATION/tmp/*-*
cd $start_dir
-if [ -e post_download ] ; then
- ./post_download
-fi
-
if [ ! -z "$failed" ]; then
echo
echo ERROR: failed on:
@@ -172,3 +168,6 @@ if [ ! -z "$failed" ]; then
exit 1
fi
+[ -x "post_download" ] || { echo "'post_download' script not found, run ./autogen.sh." ; exit 1 ; }
+
+./post_download || exit 1