re PR libstdc++/33394 (Add test case for Thread race segfault in std::string::append...
[official-gcc.git] / contrib / download_ecj
blob5043f9407899c8dc80f1ddbbd067dcc4118bcb97
1 #! /bin/sh
4 # Download the ecj jar file needed by gcj.
5 # Run this from the top level of the gcc source tree and the libjava
6 # build will do the right thing.
8 # (C) 2006 Free Software Foundation
10 # This script is Free Software, and it can be copied, distributed and
11 # modified as defined in the GNU General Public License. A copy of
12 # its license can be downloaded from http://www.gnu.org/copyleft/gpl.html
15 ftp -n sourceware.org << EOF
16 verbose
17 hash
18 user ftp ''
19 cd /pub/java
20 binary
21 get ecj-latest.jar
22 EOF
24 mv ecj-latest.jar ecj.jar