maint: avoid any CDPATH issue
authorEric Blake <eblake@redhat.com>
Tue, 22 Feb 2011 15:28:31 +0000 (08:28 -0700)
committerEric Blake <eblake@redhat.com>
Tue, 22 Feb 2011 15:28:31 +0000 (08:28 -0700)
* Makefile (sc_cpp_indent_check): Anchor cd argument.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
Makefile

index 82b608c..ca6bb93 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-02-22  Eric Blake  <eblake@redhat.com>
 
+       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.
index df1038f..776de73 100644 (file)
--- 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$$' \