Artifact [f3e0ae44c2]

Artifact f3e0ae44c2f68c18ebc9cd6c168f9468495607f6:


#! /usr/bin/env bash

for file in pkgs/tdbcodbc*/generic/tdbcodbc.c pkgs/tdbcmysql*/generic/tdbcmysql.c; do
	if [ ! -f "${file}" ]; then
		continue
	fi

	sed 's@^const.*LiteralValues@static &@' "${file}" > "${file}.new"
	cat "${file}.new" > "${file}"
	rm -f "${file}.new"
done