source: trunk/src/gcc/contrib/download_f2c@ 1373

Last change on this file since 1373 was 2, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.9 KB
Line 
1#!/bin/sh
2#
3# download_f2c
4#
5# Unpacks a directory full of f2c stuff obtained from netlib, naming
6# the directory f2c-YYYYMMDD (YYYYMMDD being the current date),
7# leaving it in current working directory.
8#
9# This shell script downloads the tarball from netlib, unpacks everything,
10# and strips off the redundant files, leaving a bare-bones (but fully
11# reproducible) f2c source directory. (You must have yacc/bison to rebuild
12# gram.c, by the way.)
13#
14# (C) 1999 Free Software Foundation
15# Originally by James Craig Burley <[email protected]>, September 1999.
16#
17# This script is Free Software, and it can be copied, distributed and
18# modified as defined in the GNU General Public License. A copy of
19# its license can be downloaded from http://www.gnu.org/copyleft/gpl.html
20#
21# FIXME: Replace WHOAMI with whatever is the canonical way to
22# obtain the user's email address these days.
23
24dir=f2c-`date +%Y%m%d`