sh.zio.pod-exec: add script
This commit is contained in:
parent
6e25c52f48
commit
406f791c89
3 changed files with 11 additions and 1 deletions
9
usr/local/bin/sh.zio.pod-exec
Normal file
9
usr/local/bin/sh.zio.pod-exec
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ "$(realpath "$(dirname "$(realpath -s "$0")")/../../../")" == "/" ]]; then
|
||||
. /usr/local/libexec/zio/helpers/bash.sh
|
||||
else
|
||||
. "$(dirname "$(realpath -s "$0")")/../libexec/zio/helpers/bash.sh"
|
||||
fi
|
||||
|
||||
podman_exec $1 "${@:2}"
|
Loading…
Add table
Add a link
Reference in a new issue