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

Comparing COMP/SCRAM/src/BootStrapProject.pm (file contents):
Revision 1.10 by williamc, Fri Apr 16 14:50:24 1999 UTC vs.
Revision 1.10.2.3 by williamc, Mon Aug 30 14:15:34 1999 UTC

# Line 52 | Line 52 | sub Bootlocaltop {
52          $switch->checkparam($hashref, $name, "name");
53          $switch->checkparam($hashref, $name, "version");
54          if ( ! defined $ENV{devareaname} ) {
55 <         $ENV{LOCALTOP}=&cwd."/".$$hashref{'name'}."_".$$hashref{'version'};
55 >         my $vers=$$hashref{'version'};
56 >         $vers=~s/^$$hashref{'name'}_//;
57 >         $ENV{LOCALTOP}=&cwd."/".$$hashref{'name'}."_".$vers;
58          }
59          else {
60           $ENV{LOCALTOP}=&cwd."/".$ENV{devareaname};
# Line 103 | Line 105 | sub config_starttag {
105  
106          $hashref=$switch->SetupValueHash( \@vars );
107          $switch->checkparam($hashref, $name, "dir");
108 +        $$hashref{'dir'}=~s/`//g;
109          print ENVIRONMENT 'projconfigdir='.$$hashref{'dir'}."\n";
110          $ENV{SCRAM_BootStrapFiles}=$ENV{SCRAM_BootStrapFiles}.":".
111                  $ENV{LOCALTOP}."/".$$hashref{'dir'};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines