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/trunk/system/makeml
ViewVC logotype

Diff of /sml/trunk/system/makeml

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

sml/trunk/src/system/makeml revision 2161, Thu Nov 2 21:05:44 2006 UTC sml/trunk/system/makeml revision 2162, Thu Nov 2 21:20:47 2006 UTC
# Line 2  Line 2 
2    
3  this=$0  this=$0
4  here=`pwd`  here=`pwd`
5  cd ../../..  cd ../..
6  threeup=`pwd`  twoup=`pwd`
7  cd $here  cd $here
8    
9  LINK=$threeup/bin/.link-sml  LINK=$twoup/bin/.link-sml
10    
11  if [ ! -x $LINK ] ; then  if [ ! -x $LINK ] ; then
12      echo $this: link script $LINK is not operational.      echo $this: link script $LINK is not operational.
# Line 47  Line 47 
47  # ... unless it was already set at the time we run this script.  # ... unless it was already set at the time we run this script.
48  #  #
49    
50  CM_PATHCONFIG=${CM_PATHCONFIG:-$threeup/lib/pathconfig}  CM_PATHCONFIG=${CM_PATHCONFIG:-$twoup/lib/pathconfig}
51  export CM_PATHCONFIG  export CM_PATHCONFIG
52    
53  #  #
54  # 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
55  #  #
56  if [ -f $threeup/bin/.arch-n-opsys ]; then  if [ -f $twoup/bin/.arch-n-opsys ]; then
57      ARCH_N_OPSYS=`$threeup/bin/.arch-n-opsys`      ARCH_N_OPSYS=`$twoup/bin/.arch-n-opsys`
58      if [ "$?" = "0" ]; then      if [ "$?" = "0" ]; then
59          eval $ARCH_N_OPSYS          eval $ARCH_N_OPSYS
60          echo $this: architecture = $ARCH          echo $this: 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