This commit is contained in:
2024-12-20 15:14:39 -06:00
parent a316625d9f
commit 68516b7eb4
2 changed files with 77 additions and 37 deletions

View File

@@ -83,7 +83,7 @@ audio_enc_version() {
elif command -v otool > /dev/null ; then
AUDIO_ENC_VERSION="$(otool -L $(which ffmpeg) | grep libopus | tr -d ')' | awk -F' ' '{print $NF}')"
fi
local AUDIO_ENC_GIT="$(cd "$BUILDER_DIR/opus" && git rev-parse --short HEAD)"
local AUDIO_ENC_GIT="$(cd "$BUILDER_DIR/repos/opus" && git rev-parse --short HEAD)"
test "$AUDIO_ENC_GIT" != '' && AUDIO_ENC_VERSION+="-g${AUDIO_ENC_GIT}"
echo "$AUDIO_ENC_VERSION"