diff options
author | David Tardon <dtardon@redhat.com> | 2013-11-22 19:32:41 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-11-22 19:32:41 +0100 |
commit | b0b3748db771459a558d49e63d93d1fd154e4f29 (patch) | |
tree | 9db4840a3742c35e4c7855b21e401e9e67ace81f /solenv/bin | |
parent | 945d5a010b9cd2f9ab9b804a3cc51c7b46844c3b (diff) |
fix copypasta
Change-Id: I1b526370c0432ec3e7029c0ca056d891c9f10d8b
Diffstat (limited to 'solenv/bin')
-rw-r--r-- | solenv/bin/modules/installer/profiles.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/modules/installer/profiles.pm b/solenv/bin/modules/installer/profiles.pm index 1a811d201fd6..1cc75867464d 100644 --- a/solenv/bin/modules/installer/profiles.pm +++ b/solenv/bin/modules/installer/profiles.pm @@ -77,8 +77,8 @@ sub add_profile_into_filelist # Taking the base data from a file in the root module - if ( ! $allvariableshashref->{'ROOTMODULEGID'} ) { installer::exiter::exit_program("ERROR: ROOTMODULEGID must be defined in list file!", "add_profile_into_filelist"); } - my $rootmodulegid = $allvariableshashref->{'ROOTMODULEGID'}; + if ( ! $allvariables->{'ROOTMODULEGID'} ) { installer::exiter::exit_program("ERROR: ROOTMODULEGID must be defined in list file!", "add_profile_into_filelist"); } + my $rootmodulegid = $allvariables->{'ROOTMODULEGID'}; my $rootfile; foreach my $file (@{$filesarrayref}) { if ($file->{'modules'} eq $rootmodulegid) |