configure.ac: break 2 on lds directory search
authorHarald Hoyer <harald@redhat.com>
Mon, 9 Sep 2013 11:10:19 +0000 (13:10 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 9 Sep 2013 11:10:19 +0000 (13:10 +0200)
To get out of the for loops, to search for the lds directories, break 2

configure.ac

index d85efba..8b345ef 100644 (file)
@@ -95,7 +95,7 @@ AC_ARG_WITH(efi-ldsdir,
         [
                 for EFI_LDS_DIR in "${efiroot}/gnuefi" "${efiroot}"; do
                     for lds in ${EFI_LDS_DIR}/elf_${ARCH}_efi.lds; do
-                            test -f ${lds} && break
+                            test -f ${lds} && break 2
                     done
                 done
         ]