summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2010-11-29 11:05:10 +0100
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-11-30 20:25:22 -0600
commitbe729b00869a12bca0b7b114dcecbad3f3585e6c (patch)
tree2b565808df26f2a3ace76001bfbadd5d4b634259 /download
parent4a8e692f6bab49de18d37f9fdf7ba998396523a5 (diff)
download: Fix minor typos to make it work on Windows.
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