summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2019-06-29 18:58:28 +0200
committerAllan McRae <allan@archlinux.org>2019-08-05 10:26:21 +0200
commit0318e84546cb368361b94412d0861f9d3971d6b2 (patch)
tree7c046932e0cd6670405233f6ccc5a2d02dbcafd2
parent72dae345e4218c9ee4410f3738a86c3bbcb1d694 (diff)
downloadpacman-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-xbuild-aux/update-po2
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