fix: mounting directories
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -26,7 +26,7 @@ default_args() {
|
||||
[[ -e "${SSH_AUTH_SOCK:-}" ]] && run_opts+=("-v" "$SSH_AUTH_SOCK:/run/user/1000/ssh-auth-sock" "-e" "SSH_AUTH_SOCK=/run/user/1000/ssh-auth-sock")
|
||||
|
||||
# Load custom container config.
|
||||
local config_file="$(dirname "${BASH_SOURCE[0]}")/containers/$name/config.sh"
|
||||
local config_file="${BASH_SOURCE[0]%/*}/../containers/$name/config.sh"
|
||||
[[ -f "$config_file" ]] && source "$config_file" || true
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user