set env var
This commit is contained in:
parent
8f26db9a6b
commit
f20e90e544
1 changed files with 2 additions and 0 deletions
|
@ -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')}
|
||||||
|
|
Loading…
Reference in a new issue