Hey guys,<br><br>Can we move the determination of unique .install files inside the loop (see patch below). A few weeks ago I had troubles building koffice, now I had the time to look into it. It appears that due the vast number of splitted packages the install_files variable grew so large it was still not finished adding variables after 12 hours. Determining the uniqueness of the .install files inside the loop this doesn&#39;t happen anymore and it now finishes in a couple of seconds. <br>
I imagine this is also a problem with other splitted packages (most notably some kde ones?)<br><br>Ronald<br><br><br>path below is against current git version.<br><br>--- /usr/sbin/makechrootpkg.old 2009-10-13 10:08:02.297306265 +0200<br>
+++ /usr/sbin/makechrootpkg     2009-10-13 10:08:32.237724312 +0200<br>@@ -182,10 +182,9 @@<br> for pkg in ${pkgname[@]}; do<br>     install_files+=&#39; &#39;<br>     install_files+=$(echo $install_files |sed &quot;s/\$pkgname/$pkg/&quot;|sed &quot;s/\${pkgname}/$pkg/&quot;)<br>
+    install_files=$(eval echo $install_files |tr &#39;[:blank:]&#39; &#39;\n&#39;|sort |uniq)<br> done<br><br>-install_files=$(eval echo $install_files |tr &#39;[:blank:]&#39; &#39;\n&#39;|sort |uniq)<br>-<br> for f in $install_files;do<br>
     install=&quot;${f#&quot;install=&quot;}&quot;<br>     if [ &quot;$install&quot; != &quot;&quot; -a -f &quot;$install&quot; ]; then<br>