]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Make sure that contrib/download_prerequisites is run from correct place
authorMarkus Trippelsdorf <markus@trippelsdorf.de>
Fri, 11 Sep 2015 06:14:32 +0000 (06:14 +0000)
committerMarkus Trippelsdorf <trippels@gcc.gnu.org>
Fri, 11 Sep 2015 06:14:32 +0000 (06:14 +0000)
* download_prerequisites: Make sure that script is run from
top level source directory.

From-SVN: r227676

contrib/ChangeLog
contrib/download_prerequisites

index 09aa7020d70fe924a9c09b7093085663f08fb028..d220728e8ce5fdba252fc341c2e5544c03ee02f4 100644 (file)
@@ -1,3 +1,8 @@
+2015-09-11  Markus Trippelsdorf  <markus@trippelsdorf.de>
+
+       * download_prerequisites: Make sure that script is run from
+       top level source directory.
+
 2015-06-26  Release Manager
 
        * GCC 4.9.3 released.
index cc27143ea25436147695ac4821e586c0ff5b660c..98813a02d1d92fe9d37b9646e837d887661704b0 100755 (executable)
 # ISL Library and CLooG.
 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