index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/common-functions | 5 |
diff --git a/bin/common-functions b/bin/common-functions index 412624e..9c0e96e 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -630,7 +630,10 @@ find_package_repository_to_package() { eval 'repo_path="${repo_paths__'"${git_repository}"'}"' repo="$( - ls "${repo_path}/${package}/repos" 2> /dev/null | \ + git -C "${repo_path}" archive "$(cat "${work_dir}/${repo}.revision")" -- "${package}/repos" 2> /dev/null | \ + tar -t | \ + cut -d/ -f3 | \ + grep -vxF '' | \ grep -v 'staging\|testing' | \ grep -v -- '-i686$' | \ sed 's|-[^-]\+$||' | \ |