summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin')
-rw-r--r--solenv/bin/modules/installer/globals.pm2
-rw-r--r--solenv/bin/modules/installer/setupscript.pm16
2 files changed, 12 insertions, 6 deletions
diff --git a/solenv/bin/modules/installer/globals.pm b/solenv/bin/modules/installer/globals.pm
index 49f380cb8fea..2c63ab41f0f0 100644
--- a/solenv/bin/modules/installer/globals.pm
+++ b/solenv/bin/modules/installer/globals.pm
@@ -289,8 +289,6 @@ BEGIN
%all_english_languagestrings = ();
%all_required_english_languagestrings = ();
- @forced_properties = ("SERVICETAG_PRODUCTNAME", "SERVICETAG_PRODUCTVERSION", "SERVICETAG_PARENTNAME", "SERVICETAG_SOURCE", "SERVICETAG_URN");
-
@removedirs = ();
@removefiletable = ();
diff --git a/solenv/bin/modules/installer/setupscript.pm b/solenv/bin/modules/installer/setupscript.pm
index 2275cd10096e..53590d34bc92 100644
--- a/solenv/bin/modules/installer/setupscript.pm
+++ b/solenv/bin/modules/installer/setupscript.pm
@@ -464,17 +464,25 @@ sub add_installationobject_to_variables
#####################################################################################
# Adding all variables, that must be defined, but are not defined until now.
-# List of this varibles: @installer::globals::forced_properties
#####################################################################################
sub add_forced_properties
{
my ($allvariables) = @_;
- my $property;
- foreach $property ( @installer::globals::forced_properties )
+ my @forced_properties = qw(
+ SERVICETAG_PRODUCTNAME
+ SERVICETAG_PRODUCTVERSION
+ SERVICETAG_PARENTNAME
+ SERVICETAG_SOURCE
+ SERVICETAG_URN
+ );
+
+ for my $property (@forced_properties)
{
- if ( ! exists($allvariables->{$property}) ) { $allvariables->{$property} = ""; }
+ if ( ! exists($allvariables->{$property}) ) {
+ $allvariables->{$property} = "";
+ }
}
}