diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-27 12:54:04 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-27 13:30:52 +0300 |
commit | 2c87384e24a956693d4060b7e42317a3b7a0e4b5 (patch) | |
tree | b5baaab575d36edf926bf4642d221a1f7c0eb037 /solenv/bin | |
parent | d9fb1806413a4d0ccb8d6fcddcd657b22c91d7d0 (diff) |
Avoid Perl warning: Use of uninitialized value
Diffstat (limited to 'solenv/bin')
-rw-r--r-- | solenv/bin/make_installer.pl | 2 |
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 |