29 |
|
} |
30 |
|
|
31 |
|
sub project { |
32 |
+ |
# process options |
33 |
+ |
while ( $ARGV[0]=~"^-" ) { |
34 |
+ |
if ( (shift @ARGV)=~/-d/ ) { #installation area directory |
35 |
+ |
chdir $ARGV[0]; |
36 |
+ |
shift @ARGV; |
37 |
+ |
} |
38 |
+ |
} |
39 |
|
my $project=shift @ARGV; |
40 |
|
my $version=shift @ARGV; |
41 |
|
environmentinit(); |
42 |
|
use File::Copy; |
43 |
|
use Utilities::AddDir; |
44 |
|
|
38 |
– |
print "Warning : - you are entering a development zone.". |
39 |
– |
" Don't complain if it don't work\n"; |
45 |
|
use BootStrapProject; |
46 |
|
# get the bootstrap files downloaded |
47 |
|
BootStrapProject("$project\?\?$version"); |
63 |
|
} |
64 |
|
use clientfile; |
65 |
|
BuildClientFile( $ENV{SCRAM_ProjReqsDoc} ); |
66 |
+ |
use Cwd; |
67 |
+ |
print "Installation Located at:\n".cwd()."\n"; |
68 |
+ |
print "Press RETURN to exit\n"; |
69 |
+ |
$junk=<STDIN>; |
70 |
|
} |
71 |
+ |
|
72 |
|
sub FullEnvInit { |
73 |
|
environmentinit(); |
74 |
|
localtop(); |