From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dDigo-0006Ao-N0 for ptxdist@pengutronix.de; Thu, 25 May 2017 04:39:51 +0200 Received: by mail-qt0-x244.google.com with SMTP id a46so28671590qte.0 for ; Wed, 24 May 2017 19:39:50 -0700 (PDT) From: jon@ringle.org Date: Wed, 24 May 2017 22:39:40 -0400 Message-Id: <1495679980-29162-2-git-send-email-jon@ringle.org> In-Reply-To: <1495679980-29162-1-git-send-email-jon@ringle.org> References: <1495679980-29162-1-git-send-email-jon@ringle.org> Subject: [ptxdist] [PATCH support/ptxdist-2017.05.x_GP v3] 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 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Jon Ringle RnJvbTogSm9uIFJpbmdsZSA8anJpbmdsZUBncmlkcG9pbnQuY29tPgoKSSBkaXNjb3ZlcmVkIGFm dGVyIHVwZGF0aW5nIHRvIGEgbmV3IHZlcnNpb24gb2YgcHR4ZGlzdCB0aGF0IGFsbCBvZiBteQpj b21waWxlIG91dHB1dCBpbmNsdWRpbmcgZXJyb3JzL3dhcm5pbmdzIGFyZSBub3cgYWxsIGdvaW5n IHRvIHN0ZG91dAppbnN0ZWFkIG9mIGhhdmluZyB0aGUgZXJyb3JzL3dhcm5pbmcgZ29pbmcgdG8g c3RkZXJyLgoKVGhpcyBpcyBjYXVzaW5nIHNvbWUgcHJvYmxlbSB3aGVuIEkgdXNlIHF0Y3JlYXRv ciBhcyBteSBJREUgYmVjYXV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