From 7a964bbd3e7505b5648fe7522b26cc8941c378d9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 28 Jun 2022 18:26:28 +0300 Subject: Don't read LICENSE in root.build in skeleton mode --- xsd/build/root.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/xsd/build/root.build b/xsd/build/root.build index 8589e33..2b83ae1 100644 --- a/xsd/build/root.build +++ b/xsd/build/root.build @@ -29,6 +29,7 @@ cxx.poptions =+ "-I$out_root" "-I$src_root" # # 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') +if ($build.mode != 'skeleton') + copyright = $process.run_regex(cat $src_root/LICENSE, \ + 'Copyright \(c\) (.+)\.', \ + '\1') -- cgit v1.1