From a4c51149bd8ab44d530cbbf05b46a37c528a1020 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 25 Jan 2024 01:45:21 +0000 Subject: [PATCH] Version: Exclude cmake directory from non-git version hash --- version_utils.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/version_utils.sh b/version_utils.sh index cd425e1a3e..cafda1b59f 100755 --- a/version_utils.sh +++ b/version_utils.sh @@ -81,9 +81,6 @@ function output_hash_list { function read_source { handle_source "CMakeLists.txt" "$1" - while IFS=$'\n' read -r line; do - handle_source "$line" "$1" - done < <( find -L cmake -type f -name '*.cmake' -print | LC_ALL=C sort ) while IFS=$'\n' read -r line; do handle_source "$line" "$1" done < <( find -L src -type f \( -name 'CMakeLists.txt' -o -name '*.cpp' -o -name '*.c' -o -name '*.hpp' -o -name '*.h' -o -name '*.sq' -o -name '*.mm' -o -name '*.in' \) -print | LC_ALL=C sort )