#!/bin/bash

set -e

MULTIO_SINKS=${MULTIO_SINKS:=fdb4}


for sink in $(echo $MULTIO_SINKS | tr ':' ' ')
do

    if [[ "$sink" == "fdb5" ]]
    then
        echo "fdb5 $MARS_FDB_DTAP"
        exit
    else
        echo "fdb"
        exit
    fi

done

echo "fdb"
