aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pgaccess/files/run-tcl-file
diff options
context:
space:
mode:
Diffstat (limited to 'databases/pgaccess/files/run-tcl-file')
-rw-r--r--databases/pgaccess/files/run-tcl-file13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/pgaccess/files/run-tcl-file b/databases/pgaccess/files/run-tcl-file
new file mode 100644
index 000000000000..8b5b563b3648
--- /dev/null
+++ b/databases/pgaccess/files/run-tcl-file
@@ -0,0 +1,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