From e2ff6cc748d51b43fe0ed50efda2daac2756f9de Mon Sep 17 00:00:00 2001 From: Sohan Kunkerkar Date: Fri, 23 Jun 2023 11:42:56 -0400 Subject: [PATCH] Makefile.am: update clang-format command Use grep -E instead of egrep Signed-off-by: Sohan Kunkerkar --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index c3446446f7..9962915ba8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -275,7 +275,7 @@ generate-mount_flags.c: src/libcrun/mount_flags.perf clang-format: # do not format files that were copied into the source directory. - git ls-files src tests | egrep "\\.[hc]" | grep -v "chroot_realpath.c\|cloned_binary.c\|signals.c\|mount_flags.c" | xargs clang-format -style=file -i + git ls-files src tests | grep -E "\\.[hc]" | grep -v "chroot_realpath.c\|cloned_binary.c\|signals.c\|mount_flags.c" | xargs clang-format -style=file -i shellcheck: shellcheck tests/*/*.sh contrib/*.sh