Skip to content

Commit

Permalink
Fixed regression in 2.0.0 with global bld command when used without…
Browse files Browse the repository at this point in the history
… any arguments.

Upgraded to bld 2.0.1.
Updated version to 2.0.1.
  • Loading branch information
gbevin committed Jul 29, 2024
1 parent 97a153f commit d96ce65
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .idea/libraries/bld.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core
Binary file modified lib/bld/bld-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/bld/bld-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ bld.javaOptions=
bld.javacOptions=
bld.repositories=MAVEN_CENTRAL,RIFE2_RELEASES
bld.sourceDirectories=core/src/bld/java
bld.version=2.0.0
bld.version=2.0.1
3 changes: 2 additions & 1 deletion src/main/java/rife/bld/wrapper/Wrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,8 @@ private int installAndLaunch(List<String> arguments) {
}
currentDir_ = new File(current_file.getParent());

if (BUILD_ARGUMENT.equals(arguments.get(0))) {
if (!arguments.isEmpty() &&
BUILD_ARGUMENT.equals(arguments.get(0))) {
launchMode_ = LaunchMode.Build;
arguments.remove(0);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/BLD_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0
2.0.1

0 comments on commit d96ce65

Please sign in to comment.