From a46ddc7c6a0d5643408e021b5df3677a2ec5d929 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 1 Aug 2012 16:58:28 -0400 Subject: [PATCH] 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 --- sphinx/blog/2011/2011-12-12_schroot_fslview.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:: -- 2.39.2