summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-03-21 12:27:08 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-03-21 12:43:00 +0200
commit5e553b1ee5d8266b14c1f553d310dd634ae3fb84 (patch)
treea67409506e9ce71731dd864725cf4429b15c5351
parente6aa2b67d4c0f1a65fcddabb77186c75a3ae1c1a (diff)
GUI=WIN used to mean 16-bit Windows, I think, so kill that crack
Also the running of grep inside the test for GUI = WIN was a bit weird, what was it supposed to grep? Standard input?
-rwxr-xr-xsolenv/bin/build.pl6
1 files changed, 0 insertions, 6 deletions
diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl
index 1b8ed64907b8..f59d67531d0a 100755
--- a/solenv/bin/build.pl
+++ b/solenv/bin/build.pl
@@ -1076,7 +1076,6 @@ sub pick_prj_to_build {
sub check_platform {
my $platform = shift;
return 1 if ($platform eq 'all');
- return 1 if (($ENV{GUI} eq 'WIN') && ($platform eq 'w'));
return 1 if (($ENV{GUI} eq 'UNX') && ($platform eq 'u'));
return 1 if (($ENV{GUI} eq 'WNT') &&
(($platform eq 'w') || ($platform eq 'n')));
@@ -1848,11 +1847,6 @@ RETRY:
close LOGFILE;
if ( $error_code != 0)
{
- if ($ENV{GUI} eq 'WIN' && $retry_counter > 0)
- {
- $retry_counter -= 1;
- system('grep "Error 126\$"') && goto RETRY;
- }
system("echo \"log for $path\" >> $build_error_log");
system("cat $log_file >> $build_error_log");
}