1#! /bin/sh
2
3#
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.
7#
8# (C) 2006 Free Software Foundation
9#
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
13#
14
15ftp -n sourceware.org << EOF
16verbose
17hash
18user ftp ''
19cd /pub/java
20binary
21get ecj-latest.jar
22EOF
23
24mv ecj-latest.jar ecj.jar
25
26