ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/scram
(Generate patch)

Comparing COMP/SCRAM/src/scram (file contents):
Revision 1.16 by williamc, Thu Mar 25 16:23:51 1999 UTC vs.
Revision 1.19 by williamc, Tue Mar 30 09:38:18 1999 UTC

# Line 78 | Line 78 | sub project {
78             BuildClientFile( $ENV{SCRAM_ProjReqsDoc} );
79             use Cwd;
80             print "Installation Located at:\n".cwd()."\n";
81           ReturnToContinue();
81   }
82  
83   sub FullEnvInit {
# Line 129 | Line 128 | sub localtop {
128          } while ( ( $thispath=~s/(.*)\/.*/$1/ )=~/./  );
129          if ( ! (defined $ENV{LOCALTOP}) ) {
130           print "Unable to locate the top of local release. Exiting\n";
131 <         ReturnToContinue();
131 >         exit 1;
132          }
133          } #end block
134 <        ($ENV{THISDIR}=cwd)=~s/^$ENV{LOCALTOP}//;
134 >        ($ENV{THISDIR}=cwd)=~s/^\Q$ENV{LOCALTOP}\L//;
135          $ENV{THISDIR}=~s/^\///;
136          $ENV{SCRAM_WORKDIR}="$ENV{LOCALTOP}/.SCRAM";
137   }
# Line 256 | Line 255 | sub arch {
255          print "$ENV{SCRAM_ARCH}\n";
256   }
257  
259 sub ReturnToContinue {
260           print "Press RETURN to exit\n";
261           $junk=<STDIN>;
262 }
258  
259   #
260   # Setup a new tool

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines