download_ecj 539 B

1234567891011121314151617181920212223242526
  1. #! /bin/sh
  2. #
  3. # Download the ecj jar file needed by gcj.
  4. # Run this from the top level of the gcc source tree and the libjava
  5. # build will do the right thing.
  6. #
  7. # (C) 2006 Free Software Foundation
  8. #
  9. # This script is Free Software, and it can be copied, distributed and
  10. # modified as defined in the GNU General Public License. A copy of
  11. # its license can be downloaded from http://www.gnu.org/copyleft/gpl.html
  12. #
  13. ftp -n sourceware.org << EOF
  14. verbose
  15. hash
  16. user ftp ''
  17. cd /pub/java
  18. binary
  19. get ecj-latest.jar
  20. EOF
  21. mv ecj-latest.jar ecj.jar