Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-18 08:25:51 +0100
committerErich Eckner <git@eckner.net>2018-02-18 08:25:51 +0100
commit8fe54b099f881a3dbe885f3c29049324b2ae4747 (patch)
tree3b79a49d93144120aafffb80ab199639d75b6ba4 /bin
parentba935ea9e7709c284bfe714db156f17eea75819a (diff)
bin/mysql-functions: small cleanup
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mysql-functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/mysql-functions b/bin/mysql-functions
index 9e00887..5850ab5 100755
--- a/bin/mysql-functions
+++ b/bin/mysql-functions
@@ -725,6 +725,10 @@ mysql_find_build_assignment_loops() {
printf ' WHERE `repositories_dependent`.`name`="build-list" AND `repositories_dependency`.`name`="build-list"'
} | \
${mysql_command} --raw --batch | \
+ sed '
+ 1d
+ y/\t/ /
+ ' | \
tsort 2>&1 >/dev/null | \
sed 's/^tsort:\s*//' | \
{