diff --git a/cf/Makefile.am.common b/cf/Makefile.am.common index 73ade1dcb..a81f3681d 100644 --- a/cf/Makefile.am.common +++ b/cf/Makefile.am.common @@ -147,7 +147,7 @@ SUFFIXES += .x .z .hx # clang-format styles is to sort includes, but in many cases in-tree we really # don't want to do that. .x.c: - @if [ -z "$(CLANG_FORMAT)" ]; then \ + @if [ ! -x "$(CLANG_FORMAT)" ]; then \ cmp -s $< $@ 2> /dev/null || cp $< $@; \ else \ cp $< $@.tmp.c; \