File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
sbe-tool/src/main/java/uk/co/real_logic/sbe Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -171,9 +171,9 @@ else if (fileName.endsWith(".sbeir"))
171171 return ;
172172 }
173173
174+ final String outputDirName = System .getProperty (OUTPUT_DIR , "." );
174175 if (Boolean .parseBoolean (System .getProperty (GENERATE_STUBS , "true" )))
175176 {
176- final String outputDirName = System .getProperty (OUTPUT_DIR , "" );
177177 final String targetLanguage = System .getProperty (TARGET_LANGUAGE , "Java" );
178178
179179 generate (ir , outputDirName , targetLanguage );
@@ -187,7 +187,6 @@ else if (fileName.endsWith(".sbeir"))
187187 final int nameEnd = inputFilename .lastIndexOf ('.' );
188188 final String namePart = inputFilename .substring (0 , nameEnd );
189189
190- final String outputDirName = System .getProperty (OUTPUT_DIR , "" );
191190 final File fullPath = new File (outputDirName , namePart + ".sbeir" );
192191
193192 try (final IrEncoder irEncoder = new IrEncoder (fullPath .getAbsolutePath (), ir ))
You can’t perform that action at this time.
0 commit comments