lua: implement dirname in C rather than depend on external executable
Instead of popen and run external executable dirname we implement a
dirname in C in the core module.
We also remove the unused basename function.
Signed-off-by:
Natanael Copa <ncopa@alpinelinux.org>
Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
Showing
Please
register
or
sign in
to comment