Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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*//' | \
{