From 691658f579f45e3f0b68b534071e69cc7e8f8f5a Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 17 Nov 2025 16:40:42 +0300 Subject: [PATCH] Update patch for patch-git.lua --- config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index 8a82e03..a21fc27 100644 --- a/config.yaml +++ b/config.yaml @@ -12,14 +12,14 @@ actions: find: | local have_git = (posix == nil -- Not running under rpm. or (posix.access('/usr/bin/git', 'x') - and posix.access(sourcedir .. '/.git/.', 'x'))) + and posix.access(sourcedir .. '/.git', 'r'))) local commit_marker_contents -- For git_commit_file. if have_git then commit_marker_contents = replace: | local have_git = (posix == nil -- Not running under rpm. or (posix.access('/usr/bin/git', 'x') - and posix.access(sourcedir .. '/.git/.', 'x'))) + and posix.access(sourcedir .. '/.git', 'r'))) local commit_marker_contents -- For git_commit_file. -- If the branch/tag is AlmaLinux, then we need to get history of Upstream -- branch/tag, and skip all AlmaLinux-specific commits. To avoid duplicates