From: Joel Rosdahl Date: Wed, 1 Jan 2025 13:13:24 +0000 (+0100) Subject: chore: Improve variable name in misc/clang-format X-Git-Tag: v4.11~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22caf57ab49a01115bfc6ee3dde8e9a99bed6398;p=thirdparty%2Fccache.git chore: Improve variable name in misc/clang-format --- diff --git a/misc/clang-format b/misc/clang-format index a94422c2..6975159c 100755 --- a/misc/clang-format +++ b/misc/clang-format @@ -15,8 +15,8 @@ if [ -n "${CLANG_FORMAT:-}" ]; then exec "$CLANG_FORMAT" "$@" fi -top_dir="$(dirname "$0")" -clang_format_exe="$top_dir/.clang-format-exe" +misc_dir="$(dirname "$0")" +clang_format_exe="${misc_dir}/.clang-format-exe" clang_format_version=11 clang_format_release=master-1d7ec53d url_prefix="https://github.com/muttleyxd/clang-tools-static-binaries/releases/download/${clang_format_release}/clang-format-${clang_format_version}_"