summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Retout <tim@retout.co.uk>2012-02-22 22:41:03 +0000
committerTim Retout <tim@retout.co.uk>2012-02-22 22:54:16 +0000
commit617c91401651d96f4ad48b529efd8d2390ae7a4b (patch)
tree1f19c3d956878e971bec7472194de7795be005dd
parent23dace36e79aba275592d611298abe524d4adbbf (diff)
Remove unnecessary $run variable from installer.
-rw-r--r--solenv/bin/make_installer.pl9
1 files changed, 2 insertions, 7 deletions
diff --git a/solenv/bin/make_installer.pl b/solenv/bin/make_installer.pl
index 685881a74ec3..e2a94d44f916 100644
--- a/solenv/bin/make_installer.pl
+++ b/solenv/bin/make_installer.pl
@@ -1269,18 +1269,14 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
if ( $installer::globals::linuxlinkrpms =~ /\b$onepackagename\b/ )
{
- my $run = 0;
-
- if (( $installer::globals::makelinuxlinkrpm ) && ( ! $run ))
+ if ( $installer::globals::makelinuxlinkrpm )
{
$filesinpackage = \@installer::globals::linuxpatchfiles;
$linksinpackage = \@installer::globals::linuxlinks;
$installer::globals::makelinuxlinkrpm = 0;
if ( $installer::globals::patch ) { $installer::globals::call_epm = 1; } # enabling packing again
- $run = 1;
}
-
- if (( ! $installer::globals::makelinuxlinkrpm ) && ( ! $run ))
+ else
{
$filesinpackage = installer::worker::prepare_linuxlinkfiles($filesinpackage);
$linksinpackage = installer::worker::prepare_forced_linuxlinkfiles($linksinpackage);
@@ -1288,7 +1284,6 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
$installer::globals::add_required_package = $packagename . "u";
if ( $installer::globals::patch ) { $installer::globals::call_epm = 0; } # no packing of core module in patch
$shellscriptsfilename = ""; # shell scripts only need to be included into the link rpm
- $run = 1;
}
}
}