build-sys: meson: fix meson dist version

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/516>
This commit is contained in:
Igor V. Kovalenko 2021-03-02 08:22:22 +03:00 committed by PulseAudio Marge Bot
parent f4bce0bb98
commit a82e019de9
3 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#!/bin/bash
if [ "x${1}" == "x" ]; then
echo "Package version must be specified to generate tarball version"
exit 1
fi
echo "${1}" > "$MESON_DIST_ROOT/.tarball-version"