]> git.e2factory.org Git - e2factory.git/commitdiff
project: use hash_append
authorTobias Ulmer <tu@emlix.com>
Wed, 11 May 2016 13:59:26 +0000 (15:59 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:18 +0000 (15:41 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/project.lua

index 419f80d1e5972b4caed5f45672d0bc40811972d6..e703b7356f91fbca7ef624d91ef023018f09f216 100644 (file)
@@ -250,14 +250,14 @@ function project.projid(info)
                 return false, re
             end
 
-            hash.hash_line(hc, location)   -- the filename
-            hash.hash_line(hc, fileid)     -- the file content cs
+            hash.hash_append(hc, location)   -- the filename
+            hash.hash_append(hc, fileid)     -- the file content cs
         end
     end
-    hash.hash_line(hc, project.release_id())
-    hash.hash_line(hc, project.name())
-    hash.hash_line(hc, project.chroot_arch())
-    hash.hash_line(hc, buildconfig.VERSION)
+    hash.hash_append(hc, project.release_id())
+    hash.hash_append(hc, project.name())
+    hash.hash_append(hc, project.chroot_arch())
+    hash.hash_append(hc, buildconfig.VERSION)
 
     _projid_cache = hash.hash_finish(hc)