From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1S87Ur-0004QE-Oy for ptxdist@pengutronix.de; Thu, 15 Mar 2012 11:01:25 +0100 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1S87Ur-0003kV-Nu for ptxdist@pengutronix.de; Thu, 15 Mar 2012 11:01:25 +0100 Date: Thu, 15 Mar 2012 11:01:25 +0100 From: Michael Olbrich Message-ID: <20120315100125.GP20481@pengutronix.de> References: <20120314232131.GA14338@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120314232131.GA14338@localhost.localdomain> Subject: Re: [ptxdist] [PATCH] scripts/ipkg-push: return nonzero on error Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Mar 15, 2012 at 12:21:31AM +0100, Ladislav Michl wrote: > ipkg-push returns zero when ipkg repository path does not exist causing make > continues ignoring error. Tnx. Applied. Michael > Signed-off-by: Ladislav Michl > --- > ipkg-push | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > diff --git a/scripts/ipkg-push b/scripts/ipkg-push > index 3f8c823..b8d5228 100755 > --- a/scripts/ipkg-push > +++ b/scripts/ipkg-push > @@ -33,7 +33,7 @@ usage() { > echo " --dist use this to make a dist release (optional)" > echo " --type specify package type (default: ipkg)" > echo > - exit 0 > + exit 1 > } > > IPKGDIR= > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de