]> git.e2factory.org Git - e2factory.git/commitdiff
environment: don't format the hash input
authorTobias Ulmer <tu@emlix.com>
Wed, 25 May 2016 15:39:58 +0000 (17:39 +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/environment.lua

index ef77d9b0dc581a4747e58f25b6395ce8f509784d..f44bd3ca309f9e66a682e1112c458678b369374b 100644 (file)
@@ -63,7 +63,7 @@ end
 function environment.id(env)
     local hc = hash.hash_start()
     for var, val in env:iter() do
-        hash.hash_append(hc, string.format("%s=%s", var, val))
+        hash.hash_append(hc, var..val)
     end
     return hash.hash_finish(hc)
 end