mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Fix accidental check in
This commit is contained in:
@@ -1625,14 +1625,6 @@ gb_internal bool init_build_paths(String init_filename) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (path_is_directory(bc->build_paths[BuildPath_Output])) {
|
|
||||||
String output_file = path_to_string(ha, bc->build_paths[BuildPath_Output]);
|
|
||||||
defer (gb_free(ha, output_file.text));
|
|
||||||
gb_printf_err("Output path %.*s is a directory.\n", LIT(output_file));
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
//nocheckin char const *pathname = (char *)bc->build_paths[BuildPath_Output].basename.text;
|
|
||||||
|
|
||||||
if (!write_directory(bc->build_paths[BuildPath_Output].basename)) {
|
if (!write_directory(bc->build_paths[BuildPath_Output].basename)) {
|
||||||
String output_file = path_to_string(ha, bc->build_paths[BuildPath_Output]);
|
String output_file = path_to_string(ha, bc->build_paths[BuildPath_Output]);
|
||||||
defer (gb_free(ha, output_file.text));
|
defer (gb_free(ha, output_file.text));
|
||||||
|
|||||||
Reference in New Issue
Block a user