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