Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-27 12:11:39 +0200
committerErich Eckner <git@eckner.net>2017-07-27 12:11:39 +0200
commit86c02c515d50c54c52539a31cc7134baae2737e7 (patch)
treee11ad22e3903afcf6c670c26f2b0e1b321b856db /bin/common-functions
parentf5e79adb30cc33c51e99891f00fffaec8b1e8506 (diff)
bin/common-functions: forgot one "ls" inside git archive
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-xbin/common-functions5
1 files changed, 4 insertions, 1 deletions
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|-[^-]\+$||' | \