From: Yaroslav Halchenko Date: Wed, 1 Aug 2012 20:58:28 +0000 (-0400) Subject: BF: in fslview blogpost -- add export FSLDIR into the /usr/local/bin/fslview wrapper X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a46ddc7c6a0d5643408e021b5df3677a2ec5d929;p=neurodebian.git BF: in fslview blogpost -- add export FSLDIR into the /usr/local/bin/fslview wrapper since, as troubleshooted on the mailing list, users using recent fsl version on their system might have it pointing to the versioned path thus forbidding fslview to find atlases within the chroot --- diff --git a/sphinx/blog/2011/2011-12-12_schroot_fslview.rst b/sphinx/blog/2011/2011-12-12_schroot_fslview.rst index 28e16cc..89bd428 100644 --- a/sphinx/blog/2011/2011-12-12_schroot_fslview.rst +++ b/sphinx/blog/2011/2011-12-12_schroot_fslview.rst @@ -137,7 +137,7 @@ Procedure within the chroot environment, so just create a little shell script ``/usr/local/bin/fslview``, make it executable and be all set:: - echo -e '#!/bin/sh\nschroot -p -c squeeze /usr/bin/fslview "$@"' > /usr/local/bin/fslview + echo -e '#!/bin/sh\nexport FSLDIR=/usr/share/fsl\nschroot -p -c squeeze /usr/bin/fslview "$@"' > /usr/local/bin/fslview chmod a+x /usr/local/bin/fslview .. note::