blob: 2ab366e68e4c924542159b564485f1b8116b9381 [file]
#!/bin/sh
# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
awk '
match($0, "^ *version *: *.([0-9.]+)", v) {
print v[1]
exit
}
' "$1/meson.build"