mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
DEVTOOLS: Fixed directory creation in create_engine
This commit is contained in:
@@ -164,7 +164,7 @@ int main(int argc, char *argv[]) {
|
||||
// Create a directory for the new engine
|
||||
char folder[MAX_LINE_LENGTH];
|
||||
sprintf(folder, "../../engines/%s", engineLowercase);
|
||||
if (!mkdir(folder, 0755)) {
|
||||
if (mkdir(folder, 0755)) {
|
||||
printf("Could not create engine folder.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user