X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Ftools%2Fclam_tools%2Fwrite_build_config.cpp;h=6f46328469f94b1d4a69823d9c7ef78c56801f1e;hb=5150a9c61abf197cf1dcda839fbb293d70ff201a;hp=53cfa0a4d43a597961df28f87df95c8c79f8da94;hpb=457b128b77b5b4a0b7dd3094de543de2ce1477ad;p=feisty_meow.git diff --git a/nucleus/tools/clam_tools/write_build_config.cpp b/nucleus/tools/clam_tools/write_build_config.cpp index 53cfa0a4..6f463284 100644 --- a/nucleus/tools/clam_tools/write_build_config.cpp +++ b/nucleus/tools/clam_tools/write_build_config.cpp @@ -226,7 +226,7 @@ int write_build_config::execute() SETUP_CONSOLE_LOGGER; // override the file_logger from app_shell. // find our build ini file. - astring repodir = environment::get("REPOSITORY_DIR"); + astring repodir = environment::get("FEISTY_MEOW_DIR"); // the below code should never be needed for a properly configured build. #ifdef __WIN32__ @@ -245,19 +245,10 @@ int write_build_config::execute() // find our storage area for the build headers. we know a couple build // configurations by now, but this should really be coming out of a config // file instead. - astring library_directory = repodir + "/source/lib_src/library"; + astring library_directory = repodir + "/nucleus/library"; if (!filename(library_directory).good()) { - library_directory = repodir + "/source/core/library"; - if (!filename(library_directory).good()) { - library_directory = repodir + "/libraries/library"; - if (!filename(library_directory).good()) { - library_directory = repodir + "/../../libraries/library"; - if (!filename(library_directory).good()) { - non_continuable_error(static_class_name(), func, - astring("failed to locate the library folder storing the generated files.")); - } - } - } + non_continuable_error(static_class_name(), func, + astring("failed to locate the library folder storing the generated files.")); } // these are very specific paths, but they really are where we expect to