1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh PATH_TO_WISH='%%LOCALBASE%%/bin/wish%%TCL_VERSION%%' PGACCESS_HOME='%%PREFIX%%/share/postgresql/pgaccess' PGLIB='%%LOCALBASE%%/lib' PGPORT="${PGPORT:-5432}" export PATH_TO_WISH export PGACCESS_HOME export PGLIB export PGPORT exec "${PATH_TO_WISH}" "${PGACCESS_HOME}/%%PROGRAM%%" "$@" > /dev/null