Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
729e6394
Commit
729e6394
authored
Oct 11, 2022
by
Eric Duminil
Browse files
Allow RegionChooser.sh to pass parameters
parent
cb81014f
Changes
1
Hide whitespace changes
Inline
Side-by-side
buildConfig/RegionChooser.sh
View file @
729e6394
#!/bin/bash
java
-classpath
'lib/*'
-Xms512m
-Xmx2g
-Djava
.util.logging.config.file
=
logging.properties eu.simstadt.regionchooser.RegionChooserFX
\ No newline at end of file
if
[[
-z
"
$1
"
]]
then
echo
No parameter, launching RegionChooser GUI
java
-classpath
'lib/*'
eu.simstadt.regionchooser.RegionChooserFX
else
echo
Launching RegionChooserCLI
"
$@
"
java
-classpath
'lib/*'
eu.simstadt.regionchooser.RegionChooserCLI
"
$@
"
fi
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment