Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

fix: remove unused var in shell script

Gabe Kangas08ec796b2eb7
diff --git a/test/automated/tools.sh b/test/automated/tools.sh
index 9d2d2ffcbf..743aa378d8 100755
--- a/test/automated/tools.sh
+++ b/test/automated/tools.sh
@@ -14,8 +14,6 @@ function install_ffmpeg() {
exit 1
fi
- OS="linux"
-
FFMPEG_VER="8.0"
FFMPEG_BUILD_VERSION="20251223233512"
FFMPEG_PATH="$(pwd)"
@@ -34,7 +32,7 @@ function install_ffmpeg() {
echo "Downloading ffmpeg v${FFMPEG_VER} release ${FFMPEG_BUILD_VERSION}"
rm -rf ffmpeg.tar.gz
- curl -sL --fail https://github.com/owncast/ffmpeg-builds/releases/download/${FFMPEG_BUILD_VERSION}/ffmpeg${FFMPEG_VER}-amd64-static.tar.gz --output ffmpeg.tar.gz >/dev/null
+ curl -sL --fail "https://github.com/owncast/ffmpeg-builds/releases/download/${FFMPEG_BUILD_VERSION}/ffmpeg${FFMPEG_VER}-${OS}-amd64-static.tar.gz" --output ffmpeg.tar.gz >/dev/null
tar -xzf ffmpeg.tar.gz
rm -f ffmpeg.tar.gz
chmod +x ffmpeg