mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 04:10:03 +01:00
wp-uninstalled: try to find the build directory
Search for the first build.ninja file and only if that fails default to the current build/.
This commit is contained in:
parent
52aaf96179
commit
7970e4c75b
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ if [ -z "@MESON@" ]; then
|
|||
BUILDDIR="@MESON_BUILD_ROOT@"
|
||||
else
|
||||
SOURCEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
BUILDDIR=${SOURCEDIR}/build
|
||||
BUILDDIR=$(find "${SOURCEDIR}" -maxdepth 2 -name build.ninja -printf "%h\n" -quit 2>/dev/null || echo "${SOURCEDIR}/build")
|
||||
fi
|
||||
CONFIGDIR=config
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue