Skip to content
Snippets Groups Projects
Commit 1626c740 authored by Mark Jenkinson's avatar Mark Jenkinson
Browse files

Fixed version string for title - removed blank lines from -V output

parent 4b8122b7
No related branches found
No related tags found
No related merge requests found
...@@ -91,11 +91,11 @@ set tempSpin -1 ...@@ -91,11 +91,11 @@ set tempSpin -1
toplevel $w toplevel $w
set melodic_version [ fsl:exec "$FSLDIR/bin/melodic -V" -n ] catch { exec sh -c "${FSLDIR}/bin/melodic -V | grep \[0-9\]" } melodicversion
set fmri(version) [ lindex $melodic_version 2 ] set fmri(version) [ lindex $melodicversion 2 ]
wm title $w $melodic_version wm title $w $melodicversion
wm iconname $w $melodic_version wm iconname $w $melodicversion
wm iconbitmap $w @${FSLDIR}/tcl/fmrib.xbm wm iconbitmap $w @${FSLDIR}/tcl/fmrib.xbm
set fmri(inmelodic) 1 set fmri(inmelodic) 1
......
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