2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 18:08:16 +00:00

[#3857] Change amend-gitattributes.sh to not look at the root .gitattributes file

This commit is contained in:
Andrei Pavel 2025-05-28 14:59:34 +03:00 committed by Razvan Becheriu
parent b5b32e2838
commit 55d66bed02

View File

@ -14,7 +14,7 @@ root_path=$(cd "$(dirname "${0}")/.." && pwd)
cd "${root_path}" cd "${root_path}"
# Write to .gitattributes. # Write to .gitattributes.
find . -type f -name '.gitattributes' -exec rm -f {} \; find . -mindepth 2 -type f -name '.gitattributes' -exec rm -f {} \;
for i in $(./tools/print-generated-files.sh); do for i in $(./tools/print-generated-files.sh); do
# We need to be lenient because we call this script in premium too. Files might not exist. # We need to be lenient because we call this script in premium too. Files might not exist.
if test ! -f "${i}"; then if test ! -f "${i}"; then