quick Unix fix
This commit is contained in:
@@ -135,10 +135,10 @@ bool RageFileDriverDirect::Ready()
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
// Try to create directory before writing a temp file.
|
// Try to create directory before writing a temp file.
|
||||||
CreateDirectories( sDir ); // XXX
|
CreateDirectories( root ); // XXX
|
||||||
|
|
||||||
// Try to write a file.
|
// Try to write a file.
|
||||||
CString sFile = sDir + "temp";
|
CString sFile = root + "temp";
|
||||||
RageFile f;
|
RageFile f;
|
||||||
if( !f.Open( sFile, RageFile::WRITE ) )
|
if( !f.Open( sFile, RageFile::WRITE ) )
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user