/usr/bin/perl-cleaner: line 23: /sbin/functions.sh: No such file or directory /usr/bin/perl-cleaner: Could not source /sbin/functions.sh! functions.sh was moved to /etc/init.d in baselayout-2
Created attachment 123787 [details, diff] perl-cleaner patch Please let me know if the attached patch is sufficient.
Paul, I also found this, and after fixing the patch to functions.sh, I then get errors when trying "perl-cleaner allmodules": ---------- Calculating dependencies - !!! 'dev-perl/XML-LibXML-1.63' is not a valid package atom. !!! Please check ebuild(5) for full details. !!! (Did you specify a version but forget to prefix with '='?) -------- I am on Gentoo/FreeBSD; wondering if you ran into this as well, especially if on Linux.
Patch is overkill - /etc/init.d/functions.sh has *always* existed No need to check for it in /sbin ;)
Created attachment 127056 [details, diff] Work with all baselayouts and FreeBSD sed This patch works on FreeBSD sh and bash and all baselayout versions.
uberlord, Thanks! The patch is applied in subversion.
perl-cleaner-1.05 is now in the tree. Sorry to have taken so long to release, but work has been keeping my very busy for the last month and a half.