summaryrefslogtreecommitdiff
path: root/cli/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'cli/build/root.build')
-rw-r--r--cli/build/root.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/build/root.build b/cli/build/root.build
index f041a74..af59ccb 100644
--- a/cli/build/root.build
+++ b/cli/build/root.build
@@ -46,6 +46,8 @@ test.target = $cxx.target
# Extract the copyright notice from the LICENSE file.
#
+# Note that cat is a builtin which means this is both portable and fast.
+#
copyright = $process.run_regex(cat $src_root/LICENSE, \
'Copyright \(c\) (.+)\.', \
'\1')