Skip to content
Snippets Groups Projects
Commit 8764a649 authored by Matthew Webster's avatar Matthew Webster
Browse files

Auto install links to scripts, typo

parent a39249a5
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ if [ -z ${FSLDIR} ]; then exit; fi ...@@ -2,7 +2,7 @@ if [ -z ${FSLDIR} ]; then exit; fi
if [ ! -d ${FSLDIR}/bin ]; then exit; fi if [ ! -d ${FSLDIR}/bin ]; then exit; fi
scripts="atlasquery imcp immv imglob" scripts="atlasquery imcp immv imglob"
for script in $scripts; do 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
ln -s ${PREFIX}/bin/${file} ${FSLDIR}/bin/${file} ln -s ${PREFIX}/bin/${script} ${FSLDIR}/bin/${script}
done done
if [ -z ${FSLDIR} ]; then exit; fi if [ -z ${FSLDIR} ]; then exit; fi
scripts="atlasquery imcp immv imglob" scripts="atlasquery imcp immv imglob"
for script in $scripts; do 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 done
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