From f7c7232208a3680a81615bfc697548e9ad7ffa02 Mon Sep 17 00:00:00 2001 From: axis Date: Mon, 4 Apr 2011 09:13:17 +0200 Subject: Fixed detection of internal errors in the elf2e32_qtwrapper script. Reviewed-by: Trust me --- bin/elf2e32_qtwrapper.pl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bin/elf2e32_qtwrapper.pl b/bin/elf2e32_qtwrapper.pl index d44b2da..6675012 100755 --- a/bin/elf2e32_qtwrapper.pl +++ b/bin/elf2e32_qtwrapper.pl @@ -219,14 +219,12 @@ while (1) { $definput[1] = "$defoutput[1].tmp"; - if (!$foundBrokenSymbols || $errors) { - last; - } - - print("Rerunning elf2e32 due to DEF file / ELF file mismatch\n"); - } else { + } + if (!$foundBrokenSymbols || $errors) { last; } + + print("Rerunning elf2e32 due to DEF file / ELF file mismatch\n"); }; if ($fixupFile) { -- cgit v0.12