From aede989d57eb947c0e0cfc6e23374541c78e4ff6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 16 Jul 2017 01:10:00 -0700 Subject: Fixup for clang-format when run from /etc. --- etc/format-check.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/format-check.sh b/etc/format-check.sh index ea9bd2f2..4a779080 100755 --- a/etc/format-check.sh +++ b/etc/format-check.sh @@ -26,7 +26,8 @@ fi mytmpdir=`mktemp -d` -for file in `find ${srcdir} -name '*.[ch]' -print` +cd ${srcdir} +for file in `find . -name '*.[ch]' -print` do ext=${file##*.} oldf=${file} -- cgit v1.2.3-70-g09d2