Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
base
Commits
fa3675d2
Commit
fa3675d2
authored
3 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
MNT: FSLDEVDIR doesn't have to exist
parent
53d28436
No related branches found
No related tags found
1 merge request
!38
Mnt/fsldevdir
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
etc/fslconf/fsl-devel.sh
+8
-4
8 additions, 4 deletions
etc/fslconf/fsl-devel.sh
with
8 additions
and
4 deletions
etc/fslconf/fsl-devel.sh
+
8
−
4
View file @
fa3675d2
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment