mirror of
https://github.com/reactos/reactos.git
synced 2025-07-06 20:01:23 +00:00
Create resource output directory before calling bin2res
svn path=/trunk/; revision=28138
This commit is contained in:
parent
4595bee66c
commit
95029fea84
1 changed files with 3 additions and 0 deletions
|
@ -110,6 +110,9 @@ WineResource::UnpackResourcesInModule ( Module& module,
|
||||||
NormalizeFilename ( outputDirectory ).c_str (),
|
NormalizeFilename ( outputDirectory ).c_str (),
|
||||||
NormalizeFilename ( resourceFilename ).c_str () );
|
NormalizeFilename ( resourceFilename ).c_str () );
|
||||||
string command = FixSeparatorForSystemCommand(bin2res) + " " + parameters;
|
string command = FixSeparatorForSystemCommand(bin2res) + " " + parameters;
|
||||||
|
|
||||||
|
Directory( outputDirectory ).GenerateTree( ".", false );
|
||||||
|
|
||||||
int exitcode = system ( command.c_str () );
|
int exitcode = system ( command.c_str () );
|
||||||
if ( exitcode != 0 )
|
if ( exitcode != 0 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue