Commit cb3cd8ee authored by Peter Hutterer's avatar Peter Hutterer
Browse files

wp-uninstalled: default to wireplumber if no args are given

Runing wp-uninstalled.sh without arguments (like pw-uninstalled.sh),
just execs itself into nothingness which seems like a waste of effort.
Let's default to running wireplumber when no arguments are given.
parent f7a6aaab
Pipeline #422128 passed with stages
in 1 minute and 58 seconds
......@@ -38,4 +38,8 @@ export WIREPLUMBER_DATA_DIR="${SCRIPT_DIR}/src"
export PATH="${BUILDDIR}/src:${BUILDDIR}/src/tools:$PATH"
export LD_LIBRARY_PATH="${BUILDDIR}/lib/wp:$LD_LIBRARY_PATH"
exec $@
if [ -z "$@" ]; then
exec wireplumber
else
exec $@
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment