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 /sml/releases/release-110.63/system/fixpt
ViewVC logotype

Diff of /sml/releases/release-110.63/system/fixpt

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

sml/trunk/src/system/fixpt revision 2161, Thu Nov 2 21:05:44 2006 UTC sml/trunk/system/fixpt revision 2162, Thu Nov 2 21:20:47 2006 UTC
# Line 9  Line 9 
9    
10  this=$0  this=$0
11  here=`pwd`  here=`pwd`
12  cd ../../..  cd ../..
13  threeup=`pwd`  twoup=`pwd`
14  cd $here  cd $here
15    
16  SML=$threeup/bin/sml  SML=$twoup/bin/sml
17  ARCH=sparc  ARCH=sparc
18    
19  #  #
20  # use the arch-n-opsys script to determine the ARCH/OS if possible  # use the arch-n-opsys script to determine the ARCH/OS if possible
21  #  #
22  if [ -f $threeup/bin/.arch-n-opsys ]; then  if [ -f $twoup/bin/.arch-n-opsys ]; then
23      ARCH_N_OPSYS=`$threeup/bin/.arch-n-opsys`      ARCH_N_OPSYS=`$twoup/bin/.arch-n-opsys`
24      if [ "$?" = "0" ]; then      if [ "$?" = "0" ]; then
25          eval $ARCH_N_OPSYS          eval $ARCH_N_OPSYS
26          echo Architecture: $ARCH          echo Architecture: $ARCH

Legend:
Removed from v.2161  
changed lines
  Added in v.2162

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