Fix wrapper script for starting jack_mixer in source dir
[jack_mixer.git] / tools / jack_mixer.sh
blobde91c9f7b7259deffd7b0245b6a33d7140cf46f0
1 #!/bin/bash
3 if ! ls -a builddir/jack_mixer/_jack_mixer.*.so >/dev/null 2>&1 ; then
4 echo "'_jack_mixer' extension module not found."
5 echo "This script is meant to be run from a jack_mixer source directory"
6 echo "Make sure that you have built jack_mixer with meson and created"
7 echo "the language translation files with ./tools/compile-messages.py."
8 exit 1
9 fi
11 export PYTHONPATH=".:./builddir:$PYTHONPATH"
12 export LOCALEDIR="data/locale"
13 exec python -m jack_mixer "$@"