diff options
author | Dave Reisner <dreisner@archlinux.org> | 2019-06-29 18:58:28 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-08-05 10:26:21 +0200 |
commit | 0318e84546cb368361b94412d0861f9d3971d6b2 (patch) | |
tree | 7c046932e0cd6670405233f6ccc5a2d02dbcafd2 | |
parent | 72dae345e4218c9ee4410f3738a86c3bbcb1d694 (diff) | |
download | pacman-0318e84546cb368361b94412d0861f9d3971d6b2.tar.gz pacman-0318e84546cb368361b94412d0861f9d3971d6b2.tar.xz |
build-aux: detect build dir based on build.ninja
.ninja.log is only present after building (successful or otherwise) the
project, but build.ninja is output as soon as the build dir is setup.
Signed-off-by: Allan McRae <allan@archlinux.org>
-rwxr-xr-x | build-aux/update-po | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/update-po b/build-aux/update-po index ce1ad4be..bf8d7cfc 100755 --- a/build-aux/update-po +++ b/build-aux/update-po @@ -1,7 +1,7 @@ #!/bin/bash find_build_directory() { - local build_dirs=(*/.ninja_log) + local build_dirs=(*/build.ninja) if [[ ! -e ${build_dirs[0]} ]]; then echo "error: No build directory found. Have you run 'meson build' yet?" >&2 |