Skip to content
Snippets Groups Projects
Commit c1970e53 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

RF: can't assume $FSLTCLSH is set

parent 86d3604a
No related branches found
No related tags found
1 merge request!11RF: can't assume $FSLTCLSH is set
Pipeline #10080 passed
......@@ -9,7 +9,7 @@
{% set name = 'fsl-fdt' %}
{% set version = '2103.0' %}
{% set repository = 'https://git.fmrib.ox.ac.uk/fsl/fdt.git' %}
{% set build = '1' %}
{% set build = '2' %}
package:
name: {{ name }}
......
......@@ -12,7 +12,7 @@ if [ -e ${FSLDIR}/share/fsl/sbin/createFSLWrapper ]; then
rearrange xfibres_pred
# Update TCL library index for files newly added to $FSLDIR/tcl
if [ ${FSLDIR} = ${PREFIX} ]; then
echo "auto_mkindex $FSLDIR/tcl/ *.tcl" | ${FSLTCLSH}
if [ ${FSLDIR} = ${PREFIX} ] && [ -e ${PREFIX}/bin/fsltclsh ]; then
echo "auto_mkindex ${FSLDIR}/tcl/ *.tcl" | ${PREFIX}/bin/fsltclsh
fi
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment