* grub-core/genmoddep.awk: Use more portable && rather than and.

This commit is contained in:
Vladimir Serbinenko 2013-11-25 07:32:51 +01:00
parent ff1c277ef8
commit c98dd165b0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-11-25 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/genmoddep.awk: Use more portable && rather than and.
2013-11-24 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/i386/pc/startup.S [__APPLE__]: Create _edata by placing

View File

@ -23,7 +23,7 @@ BEGIN {
} else if ($1 == "undefined") {
if ($3 in symtab)
modtab[$2] = modtab[$2] " " symtab[$3];
else if (and ($3 != "__gnu_local_gp", $3 != "_gp_disp")) {
else if ($3 != "__gnu_local_gp" && $3 != "_gp_disp") {
printf "%s in %s is not defined\n", $3, $2 >"/dev/stderr";
error++;
}