Skip to content
Snippets Groups Projects
Commit e89cd47b authored by Duncan Mortimer's avatar Duncan Mortimer
Browse files

Removed old fslmachtype - new script is in FSLDIR/etc/fslconf/fsl.sh

parent 83101ae3
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,6 @@ include ${FSLCONFDIR}/default.mk
PROJNAME = misc_scripts
SCRIPTS = regscript remove_vols replacevols replace_and_average_fmrib linkbedpost ocmr_preproc correct_and_average eddy_correct fslmachtype
SCRIPTS = regscript remove_vols replacevols replace_and_average_fmrib linkbedpost ocmr_preproc correct_and_average eddy_correct
all:
OSNAME=`uname -s`
OSVER=`uname -r`
PROCESSOR=Unknown
if [ x${OSNAME} == xDarwin ] ; then
PROCESSOR=`system_profiler -detailLevel -2 | grep "CPU Type" | sed 's/^[ \t]*//' | sed 's/CPU Type: PowerPC \(G[3-5]\).*/\1/' | sed 's/CPU Type: \(Intel\) Core. */\1/'`
fi
FSLMACHTYPE=`gcc -dumpmachine`-gcc`gcc -dumpversion`
if [ "X${PROCESSOR}X" = "XG5X" ]; then
FSLMACHTYPE=${FSLMACHTYPE}-G5
fi
echo $FSLMACHTYPE
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