index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-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 |