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

MNT: FSLDEVDIR doesn't have to exist

parent 53d28436
No related branches found
No related tags found
1 merge request!38Mnt/fsldevdir
...@@ -13,15 +13,19 @@ ...@@ -13,15 +13,19 @@
# FSLCONFDIR contains the FSL Makefile machinery # FSLCONFDIR contains the FSL Makefile machinery
# for compiling and installing FSL Makefile-based # for compiling and installing FSL Makefile-based
# projects. # projects.
if [ ! -d "$FSLCONFDIR" ]; then if [ ! -d "${FSLCONFDIR}" ]; then
export FSLCONFDIR=$FSLDIR/config export FSLCONFDIR=${FSLDIR}/config
fi fi
# FSLDEVDIR is an optional installation destination # FSLDEVDIR is an optional installation destination
# for development, so that locally built projects # for development, so that locally built projects
# can be installed separately from FSLDIR. # 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 fi
source $FSLDIR/etc/fslconf/fsl.sh 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