Diff

Differences From Artifact [506d8cb8fc]:

To Artifact [f3e0ae44c2]:


1
2
3
4
5
6
7
8
9
10
11
#! /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







|



1
2
3
4
5
6
7
8
9
10
11
#! /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