From f5775c7902ccffe29e86e3a9af57bce49bcd2f84 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Wed, 11 May 2016 15:59:26 +0200 Subject: [PATCH] project: use hash_append Signed-off-by: Tobias Ulmer --- local/project.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/local/project.lua b/local/project.lua index 419f80d..e703b73 100644 --- a/local/project.lua +++ b/local/project.lua @@ -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) -- 2.39.5