]> git.corax.cc Git - toolbox/commit
include/inst: Store the instance root directory in a variable
authorMatthias Kruk <m@m10k.eu>
Sat, 19 Nov 2022 04:23:51 +0000 (13:23 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 19 Nov 2022 04:23:51 +0000 (13:23 +0900)
commit19bd8d3f5b643dfb0c555707956602e091458510
tree393e8c47292a0d06d55b15fa495f2ceb0cfa7762
parente639f37f52d2b1ef1ada8147b11b931102ade9eb
include/inst: Store the instance root directory in a variable

The directory that all instance directories are contained within is
not kept in a variable, causing several functions to construct the
path from TOOLBOX_HOME. Hence, the root directory is effectively
declared in more than one place.

This commit introduces the global variable `__inst_root', which
points to the directory that contains all instance data, making it
unnecessary to construct the path from TOOLBOX_HOME.
include/inst.sh