Files
macports-ports/shells/luash/files/patch-luash_lua.diff

12 lines
394 B
Diff

--- luash.lua.orig 2013-10-30 09:02:38.000000000 +0100
+++ luash.lua 2013-10-30 09:02:58.000000000 +0100
@@ -58,7 +58,7 @@
if h ~= nil then
return h
end
- if os.execute("which " .. key .. " &> /dev/null") == 0 then
+ if os.execute("which " .. key .. " &> /dev/null") then
return function(...)
if #{...} == 0 then
return runner(key)