diff options
Diffstat (limited to 'contrib/download_prerequisites')
-rwxr-xr-x | contrib/download_prerequisites | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/download_prerequisites b/contrib/download_prerequisites index de0e7c41847..69403301b81 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 |