Alex James has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32707
Change subject: util/lint/check-style: Don't hardcode clang-format path ......................................................................
util/lint/check-style: Don't hardcode clang-format path
Signed-off-by: Alex James theracermaster@gmail.com Change-Id: I688cb60c98370bf74aa8554bab43594ff84c4e24 --- M util/lint/check-style 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/32707/1
diff --git a/util/lint/check-style b/util/lint/check-style index 1ac51b4..2237ed6 100755 --- a/util/lint/check-style +++ b/util/lint/check-style @@ -15,7 +15,7 @@ ################################################################## # SETTINGS # set path to clang-format binary -CLANG_FORMAT="/usr/bin/clang-format" +CLANG_FORMAT="$(command -v clang-format)"
# remove any older patches from previous commits. Set to true or false. # DELETE_OLD_PATCHES=false
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32707 )
Change subject: util/lint/check-style: Don't hardcode clang-format path ......................................................................
Patch Set 1: Code-Review+2
Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/32707 )
Change subject: util/lint/check-style: Don't hardcode clang-format path ......................................................................
util/lint/check-style: Don't hardcode clang-format path
Signed-off-by: Alex James theracermaster@gmail.com Change-Id: I688cb60c98370bf74aa8554bab43594ff84c4e24 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32707 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Patrick Georgi pgeorgi@google.com --- M util/lint/check-style 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/util/lint/check-style b/util/lint/check-style index 1ac51b4..2237ed6 100755 --- a/util/lint/check-style +++ b/util/lint/check-style @@ -15,7 +15,7 @@ ################################################################## # SETTINGS # set path to clang-format binary -CLANG_FORMAT="/usr/bin/clang-format" +CLANG_FORMAT="$(command -v clang-format)"
# remove any older patches from previous commits. Set to true or false. # DELETE_OLD_PATCHES=false