Output files creation did not take -outdir option into account
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e48855bfbf
commit
8f2e24fb5e
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ public:
|
|||
String* outputFilename = Getattr(node, "outfile");
|
||||
|
||||
/* Initialize I/O */
|
||||
beginSection = NewFile(outputFilename, "w", SWIG_output_files());
|
||||
beginSection = NewFile(NewStringf("%s%s", SWIG_output_directory(), outputFilename), "w", SWIG_output_files());
|
||||
if (!beginSection) {
|
||||
FileErrorDisplay(outputFilename);
|
||||
SWIG_exit(EXIT_FAILURE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue