On Jan 28, 2005, at 1:31 AM, Daniel Macks wrote:
If we ever rework our patchfile system, we could give
percent-expansions to the filenames and then only define those % keys
if the file actually existed.

Yes, we ought to do that. As an ugly hack in the meantime, why not read STDERR and look for the string '.patch: No such file or directory' ?

I highly doubt that would occur in any case that doesn't constitute an error. It will break in the future if the shell's (or sed's) error message ever changes, but we can add a test case in fink so we'll at least notice if that happens. And hopefully by then we'll have a better solution in place.

Dave

Attachment: PGP.sig
Description: This is a digitally signed message part



Reply via email to