Files
oficial/cli/entrypoint

20 lines
265 B
Plaintext
Raw Normal View History

#!/bin/bash
if [[ $# -gt 0 ]]
then
if [[ "$1" = "bash" || "$1" = "sh" || "$1" = "zsh" || "$1" = "/bin/bash" ]]
then
CMD=$1
shift
if [[ $# -gt 0 ]]
then
$CMD -c "$@"
exit 0
fi
$CMD
exit 0
fi
fi
/code/bin/incoviba "$@"