summaryrefslogtreecommitdiff
path: root/lib/tcl/xcircuit.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tcl/xcircuit.sh.in')
-rwxr-xr-xlib/tcl/xcircuit.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tcl/xcircuit.sh.in b/lib/tcl/xcircuit.sh.in
index d9800c2..d22bb6c 100755
--- a/lib/tcl/xcircuit.sh.in
+++ b/lib/tcl/xcircuit.sh.in
@@ -6,7 +6,9 @@
#
loclibdir=${XCIRCUIT_LIB_DIR:=XCLIBDIR}
+exelibdir=${XCIRCUIT_LIB_DIR:=XCEXELIBDIR}
export XCIRCUIT_LIB_DIR
+export XCIRCUIT_EXELIB_DIR
XCIRCUIT_WISH=WISH_EXE
export XCIRCUIT_WISH
@@ -53,6 +55,6 @@ else
# *only* needed when running without the console; the console itself is
# capable of sourcing the startup script.
#
- exec ${loclibdir}/xcircexec -- $@
+ exec ${exelibdir}/xcircexec -- $@
fi