Skip to content

Commit 0e259ab

Browse files
committed
Update Packager.java
1 parent 0ef321a commit 0e259ab

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/io/github/fvarrui/javapackager/packagers

1 file changed

+2
-2
lines changed

src/main/java/io/github/fvarrui/javapackager/packagers/Packager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,9 @@ protected String getRequiredModules(File libsFolder, boolean customizedJre, File
682682

683683
File jdeps = new File(System.getProperty("java.home"), "/bin/jdeps");
684684

685-
String jarLibs = null;
685+
File jarLibs = null;
686686
if (libsFolder.exists())
687-
jarLibs = "\"" + libsFolder.getAbsolutePath() + "\"" + File.separator + "*.jar";
687+
jarLibs = new File(libsFolder, "*.jar");
688688
else
689689
Logger.warn("No dependencies found!");
690690

0 commit comments

Comments
 (0)