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/show-dependencies4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/show-dependencies b/bin/show-dependencies
index 450120f..23e8e5f 100755
--- a/bin/show-dependencies
+++ b/bin/show-dependencies
@@ -32,12 +32,14 @@ if [ $# -eq 0 ]; then
'build_assignments' 'build_assignments' 'binary_packages' 'build_assignment' \
'package_sources' 'package_sources' 'build_assignments' 'package_source'
printf ' ORDER BY `binary_packages`.`pkgname`'
+ # Why can't mysql order in the same way "sort" does!
} | \
${mysql_command} --raw --batch | \
sed '
1d
y/\t/ /
- ' > \
+ ' | \
+ sort -k2,2 > \
"${tmp_dir}/builds"
while ! [ "${new_sum}" = "${sum}" ]; do
sum="${new_sum}"