From 273349fe42182498bdc8c4ad9554acc80d00ceb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Sutre?= Date: Mon, 12 Aug 2013 14:29:36 +0200 Subject: [PATCH] Replace find -not by the POSIX-compliant find !. --- ChangeLog | 4 ++++ autogen.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 128d13e3c..628d7e92c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-08-12 Grégoire Sutre + + * autogen.sh: Replace find -not by the POSIX-compliant find !. + 2013-08-12 Grégoire Sutre Prevent shadowing of stdlib's devname(3) on BSD. diff --git a/autogen.sh b/autogen.sh index d63a79a22..466a42b24 100755 --- a/autogen.sh +++ b/autogen.sh @@ -6,8 +6,8 @@ export LC_CTYPE=C export LC_COLLATE=C unset LC_ALL -find . -iname '*.[ch]' -not -ipath './grub-core/lib/libgcrypt-grub/*' -not -ipath './build-aux/*' -not -ipath './grub-core/lib/libgcrypt/src/misc.c' -not -ipath './grub-core/lib/libgcrypt/src/global.c' -not -ipath './grub-core/lib/libgcrypt/src/secmem.c' |sort > po/POTFILES.in -find util -iname '*.in' -not -name Makefile.in |sort > po/POTFILES-shell.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' |sort > po/POTFILES.in +find util -iname '*.in' ! -name Makefile.in |sort > po/POTFILES-shell.in autogen --version >/dev/null || exit 1