grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 5/5] autogen: Replace -iname with -ipath in find command


From: Daniel Axtens
Subject: Re: [PATCH v3 5/5] autogen: Replace -iname with -ipath in find command
Date: Fri, 15 May 2020 11:36:50 +1000

Daniel Kiper <address@hidden> writes:

> ..because -iname cannot be used to match paths.
>
> Signed-off-by: Daniel Kiper <address@hidden>
> Reviewed-by: Javier Martinez Canillas <address@hidden>
> ---
>  autogen.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/autogen.sh b/autogen.sh
> index ef43270fc..31b0ced7e 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -13,7 +13,7 @@ fi
>  export LC_COLLATE=C
>  unset LC_ALL
>  
> -find . -iname '*.[ch]' ! -ipath './grub-core/lib/libgcrypt-grub/*' ! -ipath 
> './build-aux/*' ! -ipath './grub-core/lib/libgcrypt/src/misc.c' ! -ipath 
> './grub-core/lib/libgcrypt/src/global.c' ! -ipath 
> './grub-core/lib/libgcrypt/src/secmem.c'  ! -ipath 
> './util/grub-gen-widthspec.c' ! -ipath './util/grub-gen-asciih.c' ! -ipath 
> './gnulib/*' ! -iname './grub-core/lib/gnulib/*' |sort > po/POTFILES.in
> +find . -iname '*.[ch]' ! -ipath './grub-core/lib/libgcrypt-grub/*' ! -ipath 
> './build-aux/*' ! -ipath './grub-core/lib/libgcrypt/src/misc.c' ! -ipath 
> './grub-core/lib/libgcrypt/src/global.c' ! -ipath 
> './grub-core/lib/libgcrypt/src/secmem.c'  ! -ipath 
> './util/grub-gen-widthspec.c' ! -ipath './util/grub-gen-asciih.c' ! -ipath 
> './gnulib/*' ! -ipath './grub-core/lib/gnulib/*' |sort > po/POTFILES.in
>  find util -iname '*.in' ! -name Makefile.in  |sort > po/POTFILES-shell.in

Fantastic, that had been bugging me every time I saw it.

Reviewed-by: Daniel Axtens <address@hidden>

Regards,
Daniel

>  
>  echo "Importing unicode..."
> -- 
> 2.11.0
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]