39 |
|
'file' => 'none', |
40 |
|
'file_starttag' => \&file_start |
41 |
|
}; |
42 |
< |
$filename=urlhandler::urlhandler($url); |
42 |
> |
$filename=urlhandler::urlhandler($url); |
43 |
|
$switch=Switcher->new($BootHash, $filename); |
44 |
|
$switch->parse(); |
45 |
|
} |
46 |
|
|
47 |
< |
sub Bootlocaltop($hashref) { |
47 |
> |
sub Bootlocaltop { |
48 |
|
my $hashref=shift; |
49 |
|
use Cwd; |
50 |
|
use Utilities::AddDir; |
64 |
|
|
65 |
|
$hashref=$switch->SetupValueHash( \@vars ); |
66 |
|
Bootlocaltop($hashref); |
67 |
+ |
print "Installing Project $$hashref{'name'} ". |
68 |
+ |
"Version $$hashref{'version'}\n"; |
69 |
|
open ( ENVIRONMENT , ">$scramdir/Environment" ) || die "Unable to open ". |
70 |
|
"Environment file : $!\n"; |
71 |
|
print ENVIRONMENT 'SCRAM_PROJECTNAME='.$$hashref{'name'}."\n"; |
104 |
|
push @dirstack, $ENV{LOCALTOP}."/".$$hashref{'dir'}; |
105 |
|
$currentdir=$ENV{LOCALTOP}."/".$$hashref{'dir'}; |
106 |
|
if ( $switch->context('project') ) { |
107 |
< |
print INSTALLFILE "<$name name=$$hashref{dir}>\n"; |
107 |
> |
print INSTALLFILE "<$name dir=$$hashref{dir}>\n"; |
108 |
|
} |
109 |
|
} |
110 |
|
sub config_endtag { |