Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
misc_scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
misc_scripts
Commits
e89cd47b
Commit
e89cd47b
authored
17 years ago
by
Duncan Mortimer
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+1
-1
1 addition, 1 deletion
Makefile
fslmachtype
+0
-14
0 additions, 14 deletions
fslmachtype
with
1 addition
and
15 deletions
Makefile
+
1
−
1
View file @
e89cd47b
...
...
@@ -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
:
This diff is collapsed.
Click to expand it.
fslmachtype
deleted
100755 → 0
+
0
−
14
View file @
83101ae3
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment