Check that required tools are available

This commit is contained in:
TheAssassin
2020-11-15 13:48:12 +01:00
parent 02b05420f7
commit 73f707b442

View File

@@ -50,6 +50,13 @@ if [ "$APPDIR" == "" ]; then
exit 1
fi
if ! which patchelf &>/dev/null && ! type patchelf &>/dev/null; then
echo "Error: patchelf not found"
echo
show_usage
exit 2
fi
mkdir -p "$APPDIR"
export GSTREAMER_VERSION=${GSTREAMER_VERSION:-1.0}