On Mon, Apr 16, 2007, Eddy Petrișor wrote: > print STDERR "Command $cmd failed in ".Cwd::getcwd.", how to > continue now? [Qri?]: "; > > Command /bin/sh -c my-pdebuild failed in , how to continue now? [Qri?]: > Judging from the missing directory name ^^^^^^^^^ > and from the fact you used COW, I suspect the build directory is > removed before this message appears making the Cwd::getcwd command fail.
It seems to me your analysis is correct; I reproduced that Cwd::getcwd returns undef when the underlying directory is removed. Your changes seem appropriate. -- Loïc Minier