From 63a89f1e42d4fade8353f80ea3753def1c6d172a Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Thu, 12 Oct 2006 16:59:36 +0200 Subject: [PATCH] genconfig can include program's output (should be deterministic) --- build/genconf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/genconf b/build/genconf index 7a53dc1b..c509ba27 100755 --- a/build/genconf +++ b/build/genconf @@ -36,7 +36,11 @@ while () { $empty && next; $empty = 1; } else { $empty = 0; } - print OUT; + if (/^#run\s+(.+)/) { + print OUT `$1`; + } else { + print OUT; + } } } @ifs && die "Unterminated #ifdef"; -- 2.39.2