On Thu, Jan 27, 2005 at 08:26:24PM -0500, Daniel Macks wrote: > I tried to compile a package that contained the fairly standard: > > sed 's|@PREFIX@|%p|' < %a/%n.patch | patch -p1 > > in PatchScript and due to a screwup on my part, that patchfile didn't > exist. An error message was reported by sed, however, the build > process then continued!
[snip bad example] After discussion on #fink, looks like this may be intractible at this time. It was noted that some shells (including ksh and bash-3) have a "pipefail" setting, but nothing that helps us now. 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. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
