index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-03-01 08:37:27 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-01 08:37:27 +0100 |
commit | 6047f2686cfe623e08fbaf4eae0a552ded731eb1 (patch) | |
tree | a4e8df807732b035c3a8d430ddb8cb44565b49cd /lib/common-functions | |
parent | 1b15a4704e80853b99eef83a3e26e7735bec2f54 (diff) |
-rwxr-xr-x | lib/common-functions | 4 |
diff --git a/lib/common-functions b/lib/common-functions index 26151d1..740c266 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -501,7 +501,7 @@ remove_old_package_versions() { "$(printf '%s' "${repository}" | base64 -w0)" printf ';\n' } | \ - ${mysql_command} --raw --batch | \ + mysql_run_query --raw --batch | \ sed ' /^\S\+\sCONCAT(/d y/\t/ / @@ -680,7 +680,7 @@ remove_old_package_versions() { sed 's/ AND$//' printf ';\n' done | \ - ${mysql_command} + mysql_run_query sed ' s| \(\S\+\)$|-\1| |