Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
8764a649
Commit
8764a649
authored
Jan 29, 2018
by
Matthew Webster
Browse files
Auto install links to scripts, typo
parent
a39249a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
.conda/post-link.sh
View file @
8764a649
...
...
@@ -2,7 +2,7 @@ if [ -z ${FSLDIR} ]; then exit; fi
if
[
!
-d
${
FSLDIR
}
/bin
]
;
then
exit
;
fi
scripts
=
"atlasquery imcp immv imglob"
for
script
in
$scripts
;
do
if
[
-f
${
FSLDIR
}
/bin/
${
file
}
]
;
then
rm
${
FSLDIR
}
/bin/
${
file
}
;
fi
ln
-s
${
PREFIX
}
/bin/
${
file
}
${
FSLDIR
}
/bin/
${
file
}
if
[
-f
${
FSLDIR
}
/bin/
${
script
}
]
;
then
rm
${
FSLDIR
}
/bin/
${
script
}
;
fi
ln
-s
${
PREFIX
}
/bin/
${
script
}
${
FSLDIR
}
/bin/
${
script
}
done
.conda/pre-unlink.sh
View file @
8764a649
if
[
-z
${
FSLDIR
}
]
;
then
exit
;
fi
scripts
=
"atlasquery imcp immv imglob"
for
script
in
$scripts
;
do
if
[
-f
${
FSLDIR
}
/bin/
${
file
}
]
;
then
rm
${
FSLDIR
}
/bin/
${
file
}
;
fi
if
[
-f
${
FSLDIR
}
/bin/
${
script
}
]
;
then
rm
${
FSLDIR
}
/bin/
${
script
}
;
fi
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment