Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-23 16:48:02 +0200
committerErich Eckner <git@eckner.net>2018-04-23 16:48:02 +0200
commit2feb9e4eafea12167b337e29e96c04cdb0e52d42 (patch)
tree3bbc68d7536ec55aaf0ebc89513bad79ac6d7a66 /bin/get-package-updates
parent018bc84c8445d8d5ccb418ec4c6563a0f586b525 (diff)
bin/get-package-updates: fix mysql query
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 6cc8897..31e0b68 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -233,9 +233,8 @@ trigger_rebuild_on_any_file_sed_expression=$(
s/^/from_base64("/
s/$/")/
' | \
- tr '\n' ',' | \
- sed 's/,$//'
- printf ');\n'
+ tr '\n' ','
+ printf '"");\n'
} | \
mysql_run_query | \
while read -r pkgbase repository git_repository; do