]> git.e2factory.org Git - e2factory.git/commitdiff
tools: optional tool missing is not an error
authorTobias Ulmer <tu@emlix.com>
Thu, 24 Nov 2016 14:34:52 +0000 (15:34 +0100)
committerTobias Ulmer <tu@emlix.com>
Thu, 24 Nov 2016 14:34:52 +0000 (15:34 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Changelog
generic/tools.lua

index fcf5c959e78c61b031ab926350deb0005fa38b1e..b86b657df4f94c074b9bfb863074613adfc265a2 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,4 +1,5 @@
 NEXT:
+ * Remove error message when an optional tool isn't present
 
 e2factory-2.3.15
  * result.tar does not contain leading ./ prefix any more
index 7b6ca4149414afe154d0ad0eaaad3ad0f1c19952..0790f45d41002510d6eeabcf0ecd60d74fec9b19 100644 (file)
@@ -233,7 +233,7 @@ function tools.check_tool(name)
         if not rc then
             return false, re
         elseif rc ~= 0 then
-            return false, err.new("tool %q not found in PATH", tool.name)
+            return false
         end
 
         tool.path = string.sub(table.concat(out), 1, -2)