set env var

This commit is contained in:
Jonathan Jogenfors 2023-09-22 14:35:56 +02:00
parent 8f26db9a6b
commit f20e90e544

View file

@ -4,6 +4,8 @@ set -e
FFMPEG_PLATFORM="${FFMPEG_PLATFORM:=bookworm}" FFMPEG_PLATFORM="${FFMPEG_PLATFORM:=bookworm}"
echo Using platform $FFMPEG_PLATFORM
LOCK=$(jq -c '.packages[] | select(.name == "ffmpeg")' build-lock.json) LOCK=$(jq -c '.packages[] | select(.name == "ffmpeg")' build-lock.json)
export TARGETARCH=${TARGETARCH:=$(dpkg --print-architecture)} export TARGETARCH=${TARGETARCH:=$(dpkg --print-architecture)}
FFMPEG_VERSION=${FFMPEG_VERSION:=$(echo $LOCK | jq -r '.version')} FFMPEG_VERSION=${FFMPEG_VERSION:=$(echo $LOCK | jq -r '.version')}