On 06/26/12 11:23, Bart Smaalders wrote:
On 06/26/12 02:32, Abhinandan Ekande wrote:
Folks,
Please review simple fix for CR :
7140762 pkgrepo remove dies when run from the package directory that is
being removed
webrev :
https://cr.opensolaris.org/action/browse/pkg/ae112802/7140762-rev1/webrev/
Unit testing done for pkgrepo command.
Ran the test suite. All test passed.
A better fix would cwd out of the directory being deleted, no?
I agree with Bart; we should chdir to the parent directory of the
repository if the working directory is inside of it.
I wouldn't want us to just ignore the EINVAL.
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss