Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fsl-gui-bet
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
conda
fsl-gui-bet
Merge requests
!2
MNT: Use createFSLWrapper to create entry points in $FSLDIR/bin/ and in $FSLDIR/share/fsl/bin/
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
MNT: Use createFSLWrapper to create entry points in $FSLDIR/bin/ and in $FSLDIR/share/fsl/bin/
mnt/entry-points
into
main
Overview
0
Commits
2
Pipelines
3
Changes
3
Merged
Paul McCarthy
requested to merge
mnt/entry-points
into
main
1 year ago
Overview
0
Commits
2
Pipelines
3
Changes
3
Expand
0
0
Merge request reports
Viewing commit
0ae5ff9d
Prev
Next
Show latest version
3 files
+
8
−
17
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
0ae5ff9d
MNT: Use createFSLWrapper to create entry points in $FSLDIR/bin/ and in $FSLDIR/share/fsl/bin/
· 0ae5ff9d
Paul McCarthy
authored
1 year ago
build.sh
+
5
−
14
Options
@@ -18,17 +18,8 @@ rm -r node_modules
mkdir
-p
$PREFIX
/share/fsl/gui/bet
cp
-r
dist/
*
$PREFIX
/share/fsl/gui/bet/
target
=
"
${
PREFIX
}
/bin/fsl --gui bet"
wrapper
=
"
${
PREFIX
}
/bin/bet_gui"
mkdir
-p
"
${
PREFIX
}
/bin"
# remove wrapper script if it already exists
if
[
-e
"
${
wrapper
}
"
]
;
then
rm
"
${
wrapper
}
"
fi
echo
"#!/usr/bin/env bash"
>
"
${
wrapper
}
"
echo
"
${
target
}
"
'"$@"'
>>
"
${
wrapper
}
"
# make wrapper executable
chmod
+x
"
${
wrapper
}
"
\ No newline at end of file
# Create entry point in $FSLDIR/bin/ using the FSL desktop launcher
${
FSLDIR
}
/share/fsl/sbin/createFSLWrapper
\
-s
$FSLDIR
/bin/
-d
$FSLDIR
/bin/
\
-f
-r
-a
" --gui bet"
\
fsl_gui_launcher
=
fsl_gui_bet
Loading