commit a0378a4901c6bfca5dbd6cc5f396e90668abcec4 parent 8c67cd9bff785e1dc0077a6856fce40a27aadf48 Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 13 Aug 2026 20:53:24 +0200 remove dead template logic Diffstat:
| D | src/backenddb/pg_template.sh | | | 21 | --------------------- |
1 file changed, 0 insertions(+), 21 deletions(-)
diff --git a/src/backenddb/pg_template.sh b/src/backenddb/pg_template.sh @@ -1,21 +0,0 @@ -#!/bin/sh -# This file is in the public domain. -# -# Instantiates pg_template for a particular function. - -for n in $* -do - NCAPS=`echo $n | tr a-z A-Z` - if test ! -e pg_$n.c - then - cat pg_template.c | sed -e s/template/$n/g -e s/TEMPLATE/$NCAPS/g > pg_$n.c - cat pg_template.h | sed -e s/template/$n/g -e s/TEMPLATE/$NCAPS/g > pg_$n.h - echo " plugin->$n\n = &TMH_PG_$n;" >> tmpl.c - echo "#include \"pg_$n.h\"" >> tmpl.inc - echo " pg_$n.h pg_$n.c \\" >> tmpl.am - fi -done - -echo "Add lines from tmpl.am to Makefile.am" -echo "Add lines from tmpl.inc to plugin_merchantdb_postgres.c at the beginning" -echo "Add lines from tmpl.c to plugin_merchantdb_postgres.c at the end"