Skip to content

Commit 0192a27

Browse files
committed
Modified TCLLIBPATH appendations in scripts/linuxcnc.in and
scripts/rip-environment.in since they are not in TCL list style but in PATH style. In PATH style, the current appendation causes the Linuxcnc TCL package not to be found if there is already a TCLLIBPATH definition.
1 parent ceb1d08 commit 0192a27

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/linuxcnc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ if test "xyes" != "x@RUN_IN_PLACE@"; then
9898
if [ -z "$TCLLIBPATH" ]; then
9999
TCLLIBPATH=$LINUXCNC_HOME/lib/tcltk
100100
else
101-
TCLLIBPATH=$LINUXCNC_HOME/lib/tcltk:"$TCLLIBPATH"
101+
TCLLIBPATH="$LINUXCNC_HOME/lib/tcltk $TCLLIBPATH"
102102
fi
103103
export TCLLIBPATH
104104
fi

scripts/rip-environment.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ GLADE_ICON_THEME_PATH=$EMC2_HOME/share/glade/pixmaps:"$GLADE_ICON_THEME_PATH"; e
7676
if [ -z "$TCLLIBPATH" ]; then
7777
TCLLIBPATH=$EMC2_HOME/tcl
7878
else
79-
TCLLIBPATH=$EMC2_HOME/tcl:$TCLLIBPATH
79+
TCLLIBPATH="$EMC2_HOME/tcl $TCLLIBPATH"
8080
fi
8181

8282
if [ -z "$LD_LIBRARY_PATH" ]; then

0 commit comments

Comments
 (0)