From 0318e84546cb368361b94412d0861f9d3971d6b2 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 29 Jun 2019 12:58:28 -0400 Subject: 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 --- build-aux/update-po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-aux') 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 -- cgit v1.2.3-54-g00ecf