equal
deleted
inserted
replaced
298 sb.append("DIR=`dirname $0`") |
298 sb.append("DIR=`dirname $0`") |
299 .append("\n"); |
299 .append("\n"); |
300 sb.append("$DIR/java $JLINK_VM_OPTIONS -m ") |
300 sb.append("$DIR/java $JLINK_VM_OPTIONS -m ") |
301 .append(module).append('/') |
301 .append(module).append('/') |
302 .append(mainClassName) |
302 .append(mainClassName) |
303 .append(" $@\n"); |
303 .append(" \"$@\"\n"); |
304 |
304 |
305 try (BufferedWriter writer = Files.newBufferedWriter(cmd, |
305 try (BufferedWriter writer = Files.newBufferedWriter(cmd, |
306 StandardCharsets.ISO_8859_1, |
306 StandardCharsets.ISO_8859_1, |
307 StandardOpenOption.CREATE_NEW)) { |
307 StandardOpenOption.CREATE_NEW)) { |
308 writer.write(sb.toString()); |
308 writer.write(sb.toString()); |