Varios cambios Co-authored-by: Juan Pablo Vial <jpvialb@incoviba.cl> Reviewed-on: #25
20 lines
265 B
Bash
Executable File
20 lines
265 B
Bash
Executable File
#!/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 "$@"
|