remove TCLTKVERSION
following advice from
#!/bin/bash
-TCLTKVERSION=8.5
-
# Compile OOMMF
export OOMMF_TCL_CONFIG=${PREFIX}/lib/tclConfig.sh
export OOMMF_TK_CONFIG=${PREFIX}/lib/tkConfig.sh
cd oommf
-tclsh${TCLTKVERSION} oommf.tcl pimake distclean
-tclsh${TCLTKVERSION} oommf.tcl pimake upgrade
-tclsh${TCLTKVERSION} oommf.tcl pimake
-tclsh${TCLTKVERSION} oommf.tcl +platform
+tclsh oommf.tcl pimake distclean
+tclsh oommf.tcl pimake upgrade
+tclsh oommf.tcl pimake
+tclsh oommf.tcl +platform
# Copy all OOMMF sources and compiled files into $PREFIX/opt/
install -d ${PREFIX}/opt/
@@ -22,7 +20,7 @@ oommf_command=$(cat <<EOF
#! /bin/bash
export OOMMF_TCL_CONFIG=$PREFIX/lib/tclConfig.sh
export OOMMF_TK_CONFIG=$PREFIX/lib/tkConfig.sh
-tclsh${TCLTKVERSION} $PREFIX/opt/oommf/oommf.tcl "\$@"
+tclsh $PREFIX/opt/oommf/oommf.tcl "\$@"
EOF
)
echo "$oommf_command" > ${PREFIX}/bin/oommf
