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
2 years ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Allow RegionChooser.sh to pass parameters
parent
cb81014f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildConfig/RegionChooser.sh
+8
-1
buildConfig/RegionChooser.sh
with
8 additions
and
1 deletion
+8
-1
buildConfig/RegionChooser.sh
+
8
-
1
View file @
729e6394
#!/bin/bash
#!/bin/bash
java
-classpath
'lib/*'
-Xms512m
-Xmx2g
-Djava
.util.logging.config.file
=
logging.properties eu.simstadt.regionchooser.RegionChooserFX
if
[[
-z
"
$1
"
]]
\ No newline at end of file
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
This diff is collapsed.
Click to expand it.
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