From: Eric Blake Date: Tue, 22 Feb 2011 15:28:31 +0000 (-0700) Subject: maint: avoid any CDPATH issue X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40ba2143758f833c05cca17b6bc6a28dbe272333;p=pspp maint: avoid any CDPATH issue * Makefile (sc_cpp_indent_check): Anchor cd argument. Signed-off-by: Eric Blake --- 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$$' \