-module-search-path search-dir-pathsearch-dir-path: A fully qualified directory path that names a location where G2 searches for a modular KB file that contains a directly required module.
or
-module-search-path "search-dir-path [search-dir-path] ... "
G2_MODULE_SEARCH_PATH
module-search-path.
Previous versions of G2 required that the KB file for a top-level module and the KB files for its directly required modules reside in the same operating-system directory. By default, this version of G2 still searches in this manner for the KB files of directly required modules.
If you specify more than one directory, enclose the list of directories in double quotes. Use a space character to separate the directory paths in the list.
For more information about using a module search path and the
-module-search-path option, see the chapter on Modules in the G2 Reference Manual.
g2 -module-search-path "/home/kmm/kbs /home/project/kbs"