From 36560f71e739e98fdb397e85babf80dd8ce9beb1 Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Fri, 22 Feb 2019 22:59:10 +0100 Subject: [PATCH] use $\(\) instead of `` --- run-clang-tidy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-clang-tidy.sh b/run-clang-tidy.sh index 1a1c081..f4e98d4 100755 --- a/run-clang-tidy.sh +++ b/run-clang-tidy.sh @@ -2,7 +2,7 @@ # # Helper to run clang-tidy to perform some additional checks. -FILES=`find lib -name '*.c'` -INCLUDES="-Iinclude -Ilib `pkg-config fuse3 --cflags` `pkg-config libwebsockets --cflags`" +FILES=$(find lib -name '*.c') +INCLUDES="-Iinclude -Ilib $(pkg-config fuse3 --cflags) $(pkg-config libwebsockets --cflags)" clang-tidy -header-filter='.*' ${FILES} -- ${INCLUDES}