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.7 by williamc, Fri Mar 19 14:12:45 1999 UTC vs.
Revision 1.10 by williamc, Fri Apr 16 14:50:24 1999 UTC

# Line 51 | Line 51 | sub Bootlocaltop {
51  
52          $switch->checkparam($hashref, $name, "name");
53          $switch->checkparam($hashref, $name, "version");
54 <        $ENV{LOCALTOP}=&cwd."/".$$hashref{'name'}."_".$$hashref{'version'};
54 >        if ( ! defined $ENV{devareaname} ) {
55 >         $ENV{LOCALTOP}=&cwd."/".$$hashref{'name'}."_".$$hashref{'version'};
56 >        }
57 >        else {
58 >         $ENV{LOCALTOP}=&cwd."/".$ENV{devareaname};
59 >        }
60          $scramdir=$ENV{LOCALTOP}."/.SCRAM";
61          &AddDir::adddir($scramdir);
62          chdir $ENV{LOCALTOP};
# Line 64 | Line 69 | sub project_start {
69  
70          $hashref=$switch->SetupValueHash( \@vars );
71          Bootlocaltop($hashref);
72 +        print "Installing Project $$hashref{'name'} ".
73 +                "Version $$hashref{'version'}\n";
74          open ( ENVIRONMENT , ">$scramdir/Environment" ) || die "Unable to open ".
75                                  "Environment file : $!\n";
76          print ENVIRONMENT 'SCRAM_PROJECTNAME='.$$hashref{'name'}."\n";
# Line 141 | Line 148 | sub reqs_start {
148          use clientfile;
149          $ENV{SCRAM_ProjReqsDoc}=
150            $currentdir."/".$$hashref{'name'};
151 +        print ENVIRONMENT 'SCRAM_ProjReqsDoc='.$ENV{SCRAM_ProjReqsDoc}."\n";
152   #       &urlhandler::urlhandler(&geturlbase."/".$$hashref{'name'},
153   #               $scramdir."/".$$hashref{'name'}) ;
154          if ( $switch->context("project") ) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines