From: Markus Trippelsdorf Date: Fri, 11 Sep 2015 06:09:36 +0000 (+0000) Subject: Make sure that contrib/download_prerequisites is run from correct place X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78c56a5aa38c3fc7e73b5c3de7da2c5607ce9a13;p=gcc.git Make sure that contrib/download_prerequisites is run from correct place * download_prerequisites: Make sure that script is run from top level source directory. From-SVN: r227674 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 4493c19dfd1..cfd3abbf3f2 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2015-09-11 Markus Trippelsdorf + + * download_prerequisites: Make sure that script is run from + top level source directory. + 2015-08-27 Rainer Orth * update-copyright.py (GCCCmdLine): Add libvtv. 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