summaryrefslogtreecommitdiff
path: root/contrib/download_prerequisites
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-12-04 13:22:31 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-12-04 13:22:31 +0000
commit7b48bf2011b4020c4a5a2d5d4149b03983f72cc2 (patch)
treeb07a064ee6bddbe6ddf73a98a9c131b5ab6a0f5f /contrib/download_prerequisites
parent8cd167a5ad8baf4988e07fcbc9c9cc338c02d3d1 (diff)
downloadgcc-tarball-7b48bf2011b4020c4a5a2d5d4149b03983f72cc2.tar.gz
gcc-5.3.0gcc-5.3.0
Diffstat (limited to 'contrib/download_prerequisites')
-rwxr-xr-xcontrib/download_prerequisites5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/download_prerequisites b/contrib/download_prerequisites
index de0e7c4184..69403301b8 100755
--- a/contrib/download_prerequisites
+++ b/contrib/download_prerequisites
@@ -24,6 +24,11 @@
# be downloaded.
GRAPHITE_LOOP_OPT=yes
+if [ ! -e gcc/BASE-VER ] ; then
+ echo "You must run this script in the top level GCC source directory."
+ exit 1
+fi
+
# Necessary to build GCC.
MPFR=mpfr-2.4.2
GMP=gmp-4.3.2