summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-11-27 09:22:05 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-11-30 20:25:22 -0600
commitf797994afe9d645fcf6d5fd6572e0a0af39fd6a3 (patch)
tree15e83f7bf5aa59daa24152af2938adafd6c5a4d2 /download
parent40dd1bc167965484486c695cc3266ab2f68f98f6 (diff)
exile some download-dependent configure test into a post_download step
on windows, the configure check that some dll/exe are present. these are in fact automatically downloaded by the ./download script. but that script is run _after_ ./configure. So the tests are postponed and run in a post_download script that is invoked at the end of the download script.
Diffstat (limited to 'download')
-rwxr-xr-xdownload6
1 files changed, 5 insertions, 1 deletions
diff --git a/download b/download
index f238027e61de..5482ac9f9427 100755
--- a/download
+++ b/download
@@ -30,7 +30,7 @@ if [ ! -d clone ] ; then
./g clone
fi
if [ -z "$TARFILE_LOCATION" ]; then
- . ./*.Set.sh
+ . ./*[Ee]nv.[Ss]et.sh
fi
if [ ! -d "$TARFILE_LOCATION" ]; then
@@ -156,6 +156,10 @@ 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: