From 8477dc4bd965d39497d2b34b28c78e38dde476f6 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Mon, 2 Oct 2006 19:06:38 +0000 Subject: * added %cmdlineOptions to exports in order to enable scripts to determine which settings have been specified via cmdline and which have come from elsewhere (required by slxsetup.pl). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@429 95ad53e4-c205-0410-b2fa-d234c58c8868 --- config-db/OpenSLX/Basics.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config-db/OpenSLX/Basics.pm b/config-db/OpenSLX/Basics.pm index 357c5889..08a6fa89 100644 --- a/config-db/OpenSLX/Basics.pm +++ b/config-db/OpenSLX/Basics.pm @@ -8,12 +8,12 @@ $VERSION = 0.02; @ISA = qw(Exporter); @EXPORT = qw( - &openslxInit %openslxConfig + &openslxInit %openslxConfig %cmdlineConfig &_tr &trInit &vlog ); -use vars qw(%openslxConfig); +use vars qw(%openslxConfig %cmdlineConfig); ################################################################################ ### Module implementation @@ -54,7 +54,7 @@ $openslxConfig{'tftpboot-path'} = $ENV{SLX_TFTPBOOT_PATH} || "$openslxConfig{'public-path'}/tftpboot", # specification of cmdline arguments that are shared by all openslx-scripts: -my %cmdlineConfig; +%cmdlineConfig; my %openslxCmdlineArgs = ( 'base-path=s' => \$cmdlineConfig{'base-path'}, # basic path to project files (binaries, functionality templates and -- cgit v1.2.3-55-g7522