summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-27 12:54:04 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-27 13:30:52 +0300
commit2c87384e24a956693d4060b7e42317a3b7a0e4b5 (patch)
treeb5baaab575d36edf926bf4642d221a1f7c0eb037 /solenv/bin
parentd9fb1806413a4d0ccb8d6fcddcd657b22c91d7d0 (diff)
Avoid Perl warning: Use of uninitialized value
Diffstat (limited to 'solenv/bin')
-rw-r--r--solenv/bin/make_installer.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/make_installer.pl b/solenv/bin/make_installer.pl
index e8c2a74db880..fd1df27ee834 100644
--- a/solenv/bin/make_installer.pl
+++ b/solenv/bin/make_installer.pl
@@ -289,7 +289,7 @@ if (!($installer::globals::is_copy_only_project)) { installer::ziplist::set_manu
# Checking version of makecab.exe
##############################################
-if ( $installer::globals::iswindowsbuild && $ENV{'CROSS_COMPILING'} ne 'YES') { installer::control::check_makecab_version(); }
+if ( $installer::globals::iswindowsbuild && (!defined($ENV{'CROSS_COMPILING'}) || $ENV{'CROSS_COMPILING'} ne 'YES')) { installer::control::check_makecab_version(); }
##########################################################
# Getting the include path from the settings in zip list