<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -49,13 +49,14 @@ for repo in $repos; do
         fi
 
         # create file lists
-        for pkg in $repodir*${PKGEXT}; do
+        for pkg in $repodir/*${PKGEXT}; do
             pkgname=$(getpkgname &quot;$pkg&quot;)
-            tmppkgdir=&quot;${TMPDIR}/${repodir}/${pkgname}/&quot;
+	    pkgver=$(getpkgver &quot;$pkg&quot;)
+            tmppkgdir=&quot;${TMPDIR}/${repodir}/${pkgname}-${pkgver}/&quot;
             mkdir -p &quot;$tmppkgdir&quot;
-            if [ -f &quot;${CACHEDIR}/${repodir}/${pkgname}/files&quot; ]; then
+            if [ -f &quot;${CACHEDIR}/${repodir}/${pkgname}-${pkgver}/files&quot; ]; then
 #               echo &quot;cache: $pkgname&quot;
-                mv &quot;${CACHEDIR}/${repodir}/${pkgname}/files&quot; &quot;${tmppkgdir}/files&quot;
+                mv &quot;${CACHEDIR}/${repodir}/${pkgname}-${pkgver}/files&quot; &quot;${tmppkgdir}/files&quot;
             else
 #               echo &quot;$repo/$arch: $pkgname&quot;
                 echo '%FILES%' &gt; &quot;${tmppkgdir}/files&quot;</diff>
      <filename>scripts/filelist/createFileLists</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fa2a6bc9be49421289ac73689f5a0d06bbebfe33</id>
    </parent>
  </parents>
  <author>
    <name>Daenyth</name>
    <email>Daenyth+github@gmail.com</email>
  </author>
  <url>http://github.com/Stythys/arch-games/commit/2d205a3ff161b1bcb8e66c8c94c2ec49e07f7f98</url>
  <id>2d205a3ff161b1bcb8e66c8c94c2ec49e07f7f98</id>
  <committed-date>2009-10-31T13:01:39-07:00</committed-date>
  <authored-date>2009-10-31T13:01:39-07:00</authored-date>
  <message>createFileLists: Add pkgver to file lists

Signed-off-by: Daenyth &lt;Daenyth+github@gmail.com&gt;</message>
  <tree>e4889888890d908dbad9110e752d833e36ab854f</tree>
  <committer>
    <name>Daenyth</name>
    <email>Daenyth+github@gmail.com</email>
  </committer>
</commit>
