From 40ba2143758f833c05cca17b6bc6a28dbe272333 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 22 Feb 2011 08:28:31 -0700 Subject: [PATCH] maint: avoid any CDPATH issue * Makefile (sc_cpp_indent_check): Anchor cd argument. Signed-off-by: Eric Blake --- ChangeLog | 3 +++ Makefile | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 82b608cf99..ca6bb930d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2011-02-22 Eric Blake + maint: avoid any CDPATH issue + * Makefile (sc_cpp_indent_check): Anchor cd argument. + maint: adjust cpp indentation for my modules, as well * Makefile (sc_cpp_indent_check): Add my name. * lib/fbufmode.c: Filter through cppi. diff --git a/Makefile b/Makefile index df1038ffc6..776de73837 100644 --- a/Makefile +++ b/Makefile @@ -45,11 +45,11 @@ sc_pragma_columns: exit 1; } || :; \ else :; fi -# Verify that certain (for now, only Jim Meyering's) lib/**.c files -# are consistently cpp indented. +# Verify that certain (for now, only Jim Meyering and Eric Blake's) +# lib/**.c files are consistently cpp indented. sc_cpp_indent_check: ./gnulib-tool --extract-filelist \ - $$(cd modules; grep -ilrE '(meyering|blake)' .) \ + $$(cd ./modules; grep -ilrE '(meyering|blake)' .) \ | sort -u \ | grep 'lib/.*\.c$$' \ | grep -v '/getloadavg\.c$$' \ -- 2.30.2