docker-compose-viz/bin/entry_script.sh
2017-06-30 09:40:14 +02:00

12 lines
135 B
Bash
Executable file

#!/usr/bin/env sh
set -e
CURRENT_DIR=$(dirname $0)
if [ "$1" = "render" ]
then
$("$CURRENT_DIR/dcv" "$@")
else
exec "$@"
fi