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
Merge requests
!20
Rf/gui wrappers
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Rf/gui wrappers
rf/gui-wrappers
into
master
Overview
0
Commits
4
Pipelines
2
Changes
4
Merged
Paul McCarthy
requested to merge
rf/gui-wrappers
into
master
3 years ago
Overview
0
Commits
4
Pipelines
2
Changes
4
Expand
0
0
Merge request reports
Compare
master
version 1
a6c4f1fa
3 years ago
master (base)
and
latest version
latest version
a2265ea3
4 commits,
3 years ago
version 1
a6c4f1fa
2 commits,
3 years ago
4 files
+
86
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
share/fsl/sbin/createFSLWrapper
+
15
−
0
Options
@@ -66,6 +66,21 @@ fi
for
script
in
$targets
;
do
sourceScript
=
"
${
PREFIX
}
/bin/
$script
"
# FSL GUIs are called (e.g.) <Command> om Linux,
# but <Command>_gui on macOS, because macOS file
# systems are usually case-sensitive. To work
# around this (and to not accidentally create a
# link called <Command> to <command>), the FSL
# package post link scripts only specify
# <Command>_gui. Here, we remove the _gui suffix
# if no source file exists (in which we are
# likely running on Linux)
if
[[
"
$script
"
==
*
"_gui"
]]
&&
[
!
-f
"
$sourceScript
"
]
;
then
script
=
${
script
/_gui/
}
sourceScript
=
"
${
PREFIX
}
/bin/
$script
"
fi
targetScript
=
"
${
FSLDIR
}
/share/fsl/bin/
$script
"
if
[
!
-f
"
$sourceScript
"
]
;
then
Loading