Skip to content

Commit

Permalink
fix wrong -g option in launch script
Browse files Browse the repository at this point in the history
  • Loading branch information
saroun committed Jun 17, 2021
1 parent b96f97f commit ac47a32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/simres.in
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ JRE=@JRE@
pgm=$0
com=$1
cmd=simresGUI.jar
opt="-g \"$INSTDIR/GUI\" "
opt=""
# help mode
if [ "$com" = "-help" ]; then
cmd=simresCON.jar
opt="-g \"$INSTDIR/GUI\" -h"
opt="-h"
elif [ "$com" = "-test" ]; then
cmd=simresCON.jar
inp=""
Expand All @@ -44,7 +44,7 @@ elif [ "$com" = "-test" ]; then
opt="-seed 10003 -test $2 -o test_$2.html -log test_$2.txt $inp -e SCRIPT"
elif [ "$com" = "-con" ]; then
cmd=simresCON.jar
opt="-g \"$INSTDIR/GUI\" $@"
opt="$@"
fi
JAR="$INSTDIR/GUI/$cmd"

Expand Down

0 comments on commit ac47a32

Please sign in to comment.