diff options
author | Erich Eckner <git@eckner.net> | 2018-04-10 13:22:06 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-10 13:22:06 +0200 |
commit | 296fbb971fdb9ca9fe8b7cfe0ebfd8e93b0ee1cf (patch) | |
tree | 8e06cd0d669d477788dd388c6b295978afd20302 /lib | |
parent | b7c84ca8a37a9120319e3a820d3e4c67f7c1f2d7 (diff) | |
download | builder-296fbb971fdb9ca9fe8b7cfe0ebfd8e93b0ee1cf.tar.xz |
lib/mysql-functions: mysql_add_package_source: remove old_git_revision from mysql query
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/mysql-functions | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions index 064edcd..f664b9a 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -119,7 +119,10 @@ mysql_add_package_source() { shift done values="${values% * }" - names="${names% *}" + names=$( + printf '%s\n' "${names% *}" | \ + sed 's/ old_git_revision / /' + ) { printf 'INSERT IGNORE INTO package_sources' |