From 95029fea845cf86c87eae901b0c2f8d147bec92c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Fri, 3 Aug 2007 15:33:45 +0000 Subject: [PATCH] Create resource output directory before calling bin2res svn path=/trunk/; revision=28138 --- reactos/tools/rbuild/wineresource.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reactos/tools/rbuild/wineresource.cpp b/reactos/tools/rbuild/wineresource.cpp index a876838c84e..b69e829c82a 100644 --- a/reactos/tools/rbuild/wineresource.cpp +++ b/reactos/tools/rbuild/wineresource.cpp @@ -110,6 +110,9 @@ WineResource::UnpackResourcesInModule ( Module& module, 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 ) {