FFmpeg-Builds/util/vars.sh

12 lines
200 B
Bash
Raw Normal View History

2020-09-02 23:03:23 +00:00
#!/bin/bash
if [[ $# -lt 1 || $# -gt 2 ]]; then
echo "Invalid Arguments"
exit -1
fi
TARGET="$1"
VARIANT="${2:-gpl}"
2020-09-03 01:13:45 +00:00
REPO="${DOCKER_REPO:-btbn/ffmpeg-builder}"
IMAGE="$REPO:$TARGET-$VARIANT"