docker-compose-viz/bin/entry_script.sh

13 lines
135 B
Bash
Raw Permalink Normal View History

2017-06-30 09:40:14 +02:00
#!/usr/bin/env sh
set -e
CURRENT_DIR=$(dirname $0)
if [ "$1" = "render" ]
then
$("$CURRENT_DIR/dcv" "$@")
else
exec "$@"
fi