Function ConfigDir did not respect CAPSTAN_ROOT environment variable which resulted in instances always being run in the default $HOME/.capstan/instances directory. With this commit we fix this so that when CAPSTAN_ROOT is used, all three subdirectories are created like this:
CAPSTAN_ROOT/repository
CAPSTAN_ROOT/packages
CAPSTAN_ROOT/instances <--- this was in ~/.capstan/instances before
Function ConfigDir did not respect CAPSTAN_ROOT environment variable which resulted in instances always being run in the default $HOME/.capstan/instances directory. With this commit we fix this so that when CAPSTAN_ROOT is used, all three subdirectories are created like this:
Fixes https://github.com/mikelangelo-project/capstan/issues/30