Author: hpoussin
Date: Fri Aug 3 19:33:45 2007
New Revision: 28138
URL:
http://svn.reactos.org/svn/reactos?rev=28138&view=rev
Log:
Create resource output directory before calling bin2res
Modified:
trunk/reactos/tools/rbuild/wineresource.cpp
Modified: trunk/reactos/tools/rbuild/wineresource.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/wineresource.…
==============================================================================
--- trunk/reactos/tools/rbuild/wineresource.cpp (original)
+++ trunk/reactos/tools/rbuild/wineresource.cpp Fri Aug 3 19:33:45 2007
@@ -110,6 +110,9 @@
NormalizeFilename ( outputDirectory ).c_str (),
NormalizeFilename ( resourceFilename ).c_str () );
string command = FixSeparatorForSystemCommand(bin2res) + " " + parameters;
+
+ Directory( outputDirectory ).GenerateTree( ".", false );
+
int exitcode = system ( command.c_str () );
if ( exitcode != 0 )
{