THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#979 - Menubar and Luajit2 Error
User who did this - Slick (SlickDude)

----------
Just an update here (Please go easy I'm a Lua novice)

I found a way that works for either Lua or Luajit for the above function (if 
you are interested?)

Instead of the above code this seems to work for either Lua or Luajit equally as well.
function parse_dir(dir)
   local programs = {}
   local files = io.popen('find '.. dir ..' -maxdepth 1 -name "*.desktop"')
   for file in files:lines() do
       table.insert(programs, parse(file))
   end
   return programs
end


----------

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=979#comment2902

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Reply via email to