Skip to content
Snippets Groups Projects
Commit 01a593b9 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Merge branch 'mnt/fsldevdir' into 'master'

Mnt/fsldevdir

See merge request !38
parents 53d28436 4db7e98d
No related branches found
No related tags found
1 merge request!38Mnt/fsldevdir
Pipeline #12293 passed
......@@ -5,6 +5,8 @@
* If the `${LDFLAGS}` environment variable is set in the environment, any
`-L` options are dropped from it, so that the `$FSLDEVDIR` can explicitly
be set to take precedence over `$FSLDIR`.
* `${FSLDEVDIR}` doesn't have to exist - if it is set before
`${FSLDIR}/etc/fslconf/fsl-devel.sh` is run, it will not be overridden.
## 2111.8 (Friday 26th November 2021)
......
......@@ -13,15 +13,19 @@
# FSLCONFDIR contains the FSL Makefile machinery
# for compiling and installing FSL Makefile-based
# projects.
if [ ! -d "$FSLCONFDIR" ]; then
export FSLCONFDIR=$FSLDIR/config
if [ ! -d "${FSLCONFDIR}" ]; then
export FSLCONFDIR=${FSLDIR}/config
fi
# FSLDEVDIR is an optional installation destination
# for development, so that locally built projects
# can be installed separately from FSLDIR.
if [ ! -d "$FSLDEVDIR" ]; then
export FSLDEVDIR=$FSLDIR
#
# FSLDEVDIR doesn't necessarily have to exist, as
# it will be created the first time "make install"
# is run in a project directory.
if [ -z "${FSLDEVDIR}" ]; then
export FSLDEVDIR=${FSLDIR}
fi
source $FSLDIR/etc/fslconf/fsl.sh
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