Instance data is currently kept in the user's home directory, which
has the side-effect that data from crashed instances is not removed
when the machine reboots. Such instances will be shown by `--list',
and prevent singleton instances to be started.
This commit addresses the issue by moving the instance root to /tmp,
which *should* be a non-persistent filesystem.
fi
declare -xgr __inst_name="$name"
- declare -xgr __inst_root="$TOOLBOX_HOME/inst"
+ declare -xgr __inst_root="/tmp/$USER/toolbox/inst"
declare -xgr __inst_path="$__inst_root/$__inst_name"
if ! mkdir -p "$__inst_path"; then