Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue when using relative paths for KITOPS_HOME
Since kit sometimes changes directory while packing/unpacking, using a relative path for KITOPS_HOME (or the --config parameter) would lead to the CLI using an unexpected location -- for example, running KITOPS_HOME=./my-kitops-storage kit pack -t my-model ./my-model-path would lead to kit storing the model in ./my-model-path/my-kitops-storage instead of the expected ./my-kitops-storage. Instead, we take the absolute path for the parameter at the beginning and use that.
- Loading branch information