Commit 8764a649 authored by Matthew Webster's avatar Matthew Webster
Browse files

Auto install links to scripts, typo

parent a39249a5
......@@ -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
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment