summaryrefslogtreecommitdiff
path: root/bin/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-08 15:45:25 +0100
committerErich Eckner <git@eckner.net>2017-11-08 15:45:25 +0100
commitf3728106203a434bbae6fbe16945adad44d8116c (patch)
tree651f5bb4d52b01be77db87b8a4a0adf39568bb67 /bin/common-functions
parent5dd18099a7d396b621d1669cb5f6daca0199a638 (diff)
downloadbuilder-f3728106203a434bbae6fbe16945adad44d8116c.tar.xz
bin/common-functions: remove TODO - FS#54696 is closed
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-xbin/common-functions8
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 2adb6e8..65a6f92 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -24,19 +24,13 @@ find_pkgbuilds() {
local repo_path
eval 'repo_path="${repo_paths__'"${git_repository}"'}"'
- # TODO: remove, when FS#54696 closed
- local _perl_list_moreutils_repair_flag
- if [ "${package}" = 'perl-list-moreutils' ]; then
- _perl_list_moreutils_repair_flag='-r'
- fi
-
PKGBUILD=$(
git -C "${repo_path}" archive "${git_revision}" -- "${package}/repos/" 2> /dev/null | \
tar -t 2> /dev/null | \
grep "$(printf '^%s-.*/PKGBUILD' "$(str_to_regex "${package}/repos/${repository}")")" | \
grep -v -- '-i686/PKGBUILD$' | \
grep -v -- '[-/]\(staging\|testing\|unstable\)-[^/]\+/PKGBUILD$' | \
- sort ${_perl_list_moreutils_repair_flag} | \
+ sort | \
tail -n1
)