Skip to content

Commit

Permalink
fix -version_file bug CompEvol/beast2#1158
Browse files Browse the repository at this point in the history
  • Loading branch information
walterxie committed Aug 5, 2024
1 parent 5ab2236 commit d159091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/beastfx/app/tools/AppLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private String[] processVersionFileArguments(String[] additionalArgs) {
// process version file arguments;
boolean foundVersionFileArgument = false;
for (int i = 0; i < additionalArgs.length; i++) {
if (additionalArgs.equals("-version_file")) {
if (additionalArgs[i].equals("-version_file")) {
additionalArgs[i] = "";
i++;
while (i < additionalArgs.length && !additionalArgs[i].startsWith("-")) {
Expand Down

0 comments on commit d159091

Please sign in to comment.