common/scripts/lint-conflicts: fix full repo check

adjust for `xlocate: output aligned, don't show "git grep" column`
This commit is contained in:
Piotr Wójcik 2023-11-11 16:29:44 +01:00
parent 3768ba8014
commit 2cb460d7d7
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ list_interesting_files() {
if partial_check; then
list_newly_built_files
else
xlocate / | sed s'/ -> .*//' | grep -F -f <(xlocate / | cut -f 2- | sed s'/ -> .*//' | sort | uniq -d)
xlocate / | sed s'/ -> .*//' | grep -F -f <(xlocate / | sed 's/[^[:space:]]*[[:space:]]*//' | sed s'/ -> .*//' | sort | uniq -d)
fi
}