2013-01-12-16.22.14: src/app/makelib/main/makelib-g.pkg: Changed dirname to return . when no directory part is present. This conforms to dirname(1) on Linux and programmer convenience.