Artifact 506d8cb8fc5224d23a0fee196a975fbf35e876a9:
- File tcl/patchscripts/fix-static-pkgs.sh — part of check-in [a8d337ceeb] at 2023-09-08 04:29:55 on branch trunk — Fix issue statically linking packages (user: rkeene, size: 276) [annotate] [blame] [check-ins using]
#! /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