--enable-recompile try raw make if sudo make fails

This commit is contained in:
Michael Rash 2012-11-03 18:09:12 -04:00
parent 5218e52f9a
commit dbf6dc8846

View File

@ -2476,8 +2476,11 @@ sub compile_warnings() {
unless (&run_cmd("$sudo_path -u $username make",
$cmd_out_tmp, "test/$current_test_file")) {
chdir $curr_pwd or die $!;
return 0;
unless (&run_cmd('make', $cmd_out_tmp,
"test/$current_test_file")) {
chdir $curr_pwd or die $!;
return 0;
}
}
} else {