Don't fail building when pc-bios dir is empty
commitfea01537e6e00e5c5b6f222af9e5ed93971456ce
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 23 Jan 2009 18:41:33 +0000 (23 16:41 -0200)
committerAvi Kivity <avi@redhat.com>
Tue, 3 Feb 2009 12:37:43 +0000 (3 14:37 +0200)
tree72f42189f211c037e8aa45ca97bef3f65b7ad492
parent8e7cc17e1ab751cbd451724b9435df0cfac12236
Don't fail building when pc-bios dir is empty

The '[ -f "$file" ] && install' command will make the return code
of the command to be non-zero, making 'make' abort. Use shell 'if'
construct instead.

This patch also applies to the maint/2.6.29 branch.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Makefile