index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-07-05 08:44:45 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-07-05 08:44:45 +0200 |
commit | f7aa769f739a0e356905beae84a413ed3630dea4 (patch) | |
tree | b74ddbd35a4a17b2a60648a2a349264ba002e2e0 | |
parent | e62038e7758b27abd3513d077db1fc2faee0dca8 (diff) |
-rwxr-xr-x | lib/mysql-functions | 10 |
diff --git a/lib/mysql-functions b/lib/mysql-functions index bd467af..d9cd057 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -88,10 +88,12 @@ mysql_run_query() { fi return 2 fi - ( - trap 'rm "${query_stdout}"' EXIT - cat "${query_stdout}" - ) + # shellcheck disable=SC2094 + { + rm "${query_stdout}" + cat + } < \ + "${query_stdout}" } # mysql_add_package_source $pkgbase $git_revision $old_git_revision $mod_git_revision $upstream_package_repository $srcinfo_file |