feature/cierres (#25)
Varios cambios Co-authored-by: Juan Pablo Vial <jpvialb@incoviba.cl> Reviewed-on: #25
This commit is contained in:
19
cli/entrypoint
Executable file
19
cli/entrypoint
Executable file
@ -0,0 +1,19 @@
|
||||
#!/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 "$@"
|
Reference in New Issue
Block a user