lcpz / awesome-freedesktop

Freedesktop.org menu and desktop icons support for Awesome WM
GNU General Public License v2.0
129 stars 25 forks source link

menu.is_dir don't work on FreeBSD #19

Closed 12101111 closed 3 years ago

12101111 commented 4 years ago

It return false even directory is exist and not empty.

I change it to this and it works

function menu.is_dir(path)
    local f = io.open(path)
    return f
end