From owner-freebsd-ports Thu Jul 18 09:07:53 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA29035 for ports-outgoing; Thu, 18 Jul 1996 09:07:53 -0700 (PDT) Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA29030 for ; Thu, 18 Jul 1996 09:07:51 -0700 (PDT) Received: from post.demon.co.uk by relay-5.mail.demon.net id af29926; 18 Jul 96 16:32 +0100 Received: from longacre.demon.co.uk ([158.152.156.24]) by relay-3.mail.demon.net id aa27760; 18 Jul 96 16:29 +0100 From: Michael Searle Message-ID: To: ports@freefall.freebsd.org Subject: Patch returns error 5 - how to stop? Date: Thu, 18 Jul 1996 16:29:05 BST X-Mailer: Offlite 0.09 / Termite Internet for Acorn RISC OS Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I am making a port which patches the distribution with a large upgrade patch. (by a separate patch command in a replacement do-patch target) This works OK, but the first few chunks don't take. Patch continues and patches the rest of the files. This doesn't matter, as the rejected chunks affect only the table of files present - but it makes patch (and so the makefile) exit with error code 5. Neither man patch or man sh were helpful. (although I may have missed something in man sh) Does anyone know how I can stop the makefile exiting when patch does? Thanks, Michael. -- Michael Searle - searle@longacre.demon.co.uk