Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /config/releases/release-110.72/install.sh
ViewVC logotype

Diff of /config/releases/release-110.72/install.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 577, Fri Mar 10 08:07:18 2000 UTC revision 578, Tue Mar 14 05:16:29 2000 UTC
# Line 137  Line 137 
137  #  #
138  fetchurl() {  fetchurl() {
139      getter=$1 ; shift      getter=$1 ; shift
140      echo $this: Fetching $1 from $2. Please stand by...      echo $this: Fetching $1 from $3. Please stand by...
141      fetched=no      fetched=no
142      for ext in tgz tar.gz tar.Z tz tar tar.bz2 ; do      for ext in tgz tar.gz tar.Z tz tar tar.bz2 ; do
143          try=$VERSION-$2.$ext          try=$VERSION-$2.$ext
# Line 196  Line 196 
196  #     be used)  #     be used)
197  #  #
198  # fetch_n_unpack is the helper function that does the real work.  If  # fetch_n_unpack is the helper function that does the real work.  If
199  # on archive is found locally, it invokes $URLGETTER and tries again.  # no archive is found locally, it invokes $URLGETTER and tries again.
200  # The variable $tryfetch is used to make sure this happens only once.  # The variable $tryfetch is used to make sure this happens only once.
201  fetch_n_unpack() {  fetch_n_unpack() {
202      larc=$ROOT/$VERSION-$4      larc=$ROOT/$VERSION-$4
203      cd $2      cd $2
204      if [ -r $larc.tar.Z ] ; then      if [ -r $larc.tar.Z ] ; then
205          echo "$this: Un-compress-ing and un-tar-ing $1 archive."          echo "$this: Un-COMPRESS-ing and un-TAR-ing $1 archive."
206          zcat $larc.tar.Z | tar -xf -          zcat $larc.tar.Z | tar -xf -
207      elif [ -r $larc.tar ] ; then      elif [ -r $larc.tar ] ; then
208          echo "$this: Un-tar-ing $1 archive."          echo "$this: Un-TAR-ing $1 archive."
209          tar -xf $larc.tar          tar -xf $larc.tar
210      elif [ -r $larc.tar.gz ] ; then      elif [ -r $larc.tar.gz ] ; then
211          echo "$this: Un-gzip-ing and un-tar-ing $1 archive."          echo "$this: Un-GZIP-ing and un-TAR-ing $1 archive."
212          gunzip -c $larc.tar.gz | tar -xf -          gunzip -c $larc.tar.gz | tar -xf -
213      elif [ -r $larc.tar.bz2 ] ; then      elif [ -r $larc.tar.bz2 ] ; then
214          echo "$this: Un-bzip2-ing and un-tar-ing $1 archive."          echo "$this: Un-BZIP2-ing and un-TAR-ing $1 archive."
215          bunzip2 -c $larc.tar.bz2 | tar -xf -          bunzip2 -c $larc.tar.bz2 | tar -xf -
216      elif [ -r $larc.tgz ] ; then      elif [ -r $larc.tgz ] ; then
217          echo "$this: Un-gzip-ing and un-tar-ing $1 archive."          echo "$this: Un-GZIP-ing and un-TAR-ing $1 archive."
218          gunzip -c $larc.tgz | tar -xf -          gunzip -c $larc.tgz | tar -xf -
219      elif [ -r $larc.tz ] ; then      elif [ -r $larc.tz ] ; then
220          echo "$this: Un-compress-ing and un-tar-ing $1 archive."          echo "$this: Un-COMPRESS-ing and un-TAR-ing $1 archive."
221          zcat $larc.tz | tar -xf -          zcat $larc.tz | tar -xf -
222      elif [ $tryfetch = yes ] ; then      elif [ $tryfetch = yes ] ; then
223          urlgetter          urlgetter
# Line 365  Line 365 
365  #  #
366  # create the various sub directories  # create the various sub directories
367  #  #
368  for dir in $BINDIR $HEAPDIR $RUNDIR $LIBDIR $SRCDIR  for dir in $BINDIR $HEAPDIR $RUNDIR $LIBDIR $SRCDIR ; do
 do  
369      makedir $dir      makedir $dir
370  done  done
371    
# Line 435  Line 434 
434          ALLOC=1M          ALLOC=1M
435          ;;          ;;
436      x86)      x86)
437            # The following is the _wrong_ value for many popular x86 chips
438            # (i.e., Celerons).  However, the optimal value for those is 32k,
439            # and such a small value is not enough for the runtime system's boot
440            # code.  Therefore, we use 256k here and re-set it to the proper
441            # value in .run-sml.
442          ALLOC=256k          ALLOC=256k
443          ;;          ;;
444      alpha32)      alpha32)

Legend:
Removed from v.577  
changed lines
  Added in v.578

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0