From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dDSwG-0002Aa-5j for ptxdist@pengutronix.de; Wed, 24 May 2017 11:50:44 +0200 Received: from mol by pty.hi.pengutronix.de with local (Exim 4.84_2) (envelope-from ) id 1dDSwF-0007Uj-Vm for ptxdist@pengutronix.de; Wed, 24 May 2017 11:50:43 +0200 Date: Wed, 24 May 2017 11:50:43 +0200 From: Michael Olbrich Message-ID: <20170524095043.hpyji7ogil4x7khw@pengutronix.de> References: <1495248048-12419-1-git-send-email-jon@ringle.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1495248048-12419-1-git-send-email-jon@ringle.org> Subject: Re: [ptxdist] [PATCH v2] ptxd_make_world_compile.sh: conditionally redirect stderr>stdout List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de T24gRnJpLCBNYXkgMTksIDIwMTcgYXQgMTA6NDA6NDhQTSAtMDQwMCwgam9uQHJpbmdsZS5vcmcg d3JvdGU6Cj4gRnJvbTogSm9uIFJpbmdsZSA8anJpbmdsZUBncmlkcG9pbnQuY29tPgo+IAo+IEkg ZGlzY292ZXJlZCBhZnRlciB1cGRhdGluZyB0byBhIG5ldyB2ZXJzaW9uIG9mIHB0eGRpc3QgdGhh dCBhbGwgb2YgbXkKPiBjb21waWxlIG91dHB1dCBpbmNsdWRpbmcgZXJyb3JzL3dhcm5pbmdzIGFy ZSBub3cgYWxsIGdvaW5nIHRvIHN0ZG91dAo+IGluc3RlYWQgb2YgaGF2aW5nIHRoZSBlcnJvcnMv d2Fybmlu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1dHJvbml4IGUuSy4gICAgICAgICAgICAgICAgICAg ICAgICAgICB8ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CkluZHVzdHJpYWwgTGludXgg U29sdXRpb25zICAgICAgICAgICAgICAgICB8IGh0dHA6Ly93d3cucGVuZ3V0cm9uaXguZGUvICB8 ClBlaW5lciBTdHIuIDYtOCwgMzExMzcgSGlsZGVzaGVpbSwgR2VybWFueSB8IFBob25lOiArNDkt NTEyMS0yMDY5MTctMCAgICB8CkFtdHNnZXJpY2h0IEhpbGRlc2hlaW0sIEhSQSAyNjg2ICAgICAg ICAgICB8IEZheDogICArNDktNTEyMS0yMDY5MTctNTU1NSB8CgpfX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fXwpwdHhkaXN0IG1haWxpbmcgbGlzdApwdHhkaXN0 QHBlbmd1dHJvbml4LmRl