we like to run eclean pessimistically even when PKGDIR doesn't exist. but this leads to an error:
!!! Error accessing PKGDIR.
!!! (Check your /etc/make.conf and environment).
!!! Error: [Errno 2] No such file or directory: '/build/butterfly/packages/'
can we swallow ENOENT errors ? or maybe add a command line flag to permit this ?
I think a command line option makes sense in this case, with the default to be the current behavior.
If the CROS project happens to write that before any of us does, feel free to commit it to the gentoolkit repo.
Command line option -i, --ignore-failure added to ignore the missing PKGDIR error.
This was released in gentoolkit-0.3.1