From 0b94f3ea855a8910a5e0921b6918f281e660bb50 Mon Sep 17 00:00:00 2001
From: Ger van Diepen <diepen@astron.nl>
Date: Fri, 21 Mar 2008 15:07:37 +0000
Subject: [PATCH] bug 468: Only write leaf packages in lofarconf.in.private

---
 autoconf_share/rub1 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/autoconf_share/rub1 b/autoconf_share/rub1
index 01a4fd3c300..4c14605f3e9 100755
--- a/autoconf_share/rub1
+++ b/autoconf_share/rub1
@@ -332,7 +332,9 @@ else
 fi
 
 # Add (leaf) package to the file to get correct build order.
-echo "$pkgname #-v$getvers" >> allpkg.tmp
+if test $conftype = 0; then
+  echo "$pkgname #-v$getvers" >> allpkg.tmp
+fi
 # Check out all packages as needed.
 if [ $recur != 0 ]; then
   for pkg in $pkgs
-- 
GitLab