]> git.donarmstrong.com Git - neurodebian.git/commitdiff
BF: in fslview blogpost -- add export FSLDIR into the /usr/local/bin/fslview wrapper
authorYaroslav Halchenko <debian@onerussian.com>
Wed, 1 Aug 2012 20:58:28 +0000 (16:58 -0400)
committerYaroslav Halchenko <debian@onerussian.com>
Wed, 1 Aug 2012 20:58:28 +0000 (16:58 -0400)
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

index 28e16cc72f84113484a05abfcffc5020961f54fe..89bd42889184179821924a442bdd8cb8327671cb 100644 (file)
@@ -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::