diff options
author | Oliver Tappe | 2006-10-02 21:06:38 +0200 |
---|---|---|
committer | Oliver Tappe | 2006-10-02 21:06:38 +0200 |
commit | 8477dc4bd965d39497d2b34b28c78e38dde476f6 (patch) | |
tree | 5c9ed4ee50cfa17716faea5cb6b38438153df10a | |
parent | * removed SLX_USE_ABSOLUTE_TFTP_PATH again, as this will be handled by slxset... (diff) | |
download | core-8477dc4bd965d39497d2b34b28c78e38dde476f6.tar.gz core-8477dc4bd965d39497d2b34b28c78e38dde476f6.tar.xz core-8477dc4bd965d39497d2b34b28c78e38dde476f6.zip |
* 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
-rw-r--r-- | config-db/OpenSLX/Basics.pm | 6 |
1 files 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 |