From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dG6nW-0001nI-AW for ptxdist@pengutronix.de; Wed, 31 May 2017 18:48:38 +0200 Received: by mail-wm0-x244.google.com with SMTP id b84so5017304wmh.0 for ; Wed, 31 May 2017 09:48:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1495679980-29162-2-git-send-email-jon@ringle.org> References: <1495679980-29162-1-git-send-email-jon@ringle.org> <1495679980-29162-2-git-send-email-jon@ringle.org> From: Jon Ringle Date: Wed, 31 May 2017 12:48:31 -0400 Message-ID: Subject: Re: [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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: "ptxdist@pengutronix.de" UGluZy4uLgoKT24gV2VkLCBNYXkgMjQsIDIwMTcgYXQgMTA6MzkgUE0sICA8am9uQHJpbmdsZS5v cmc+IHdyb3RlOgo+IEZyb206IEpvbiBSaW5nbGUgPGpyaW5nbGVAZ3JpZHBvaW50LmNvbT4KPgo+ IEkgZGlzY292ZXJlZCBhZnRlciB1cGRhdGluZyB0byBhIG5ldyB2ZXJzaW9uIG9mIHB0eGRpc3Qg dGhhdCBhbGwgb2YgbXkKPiBjb21waWxlIG91dHB1dCBpbmNsdWRpbmcgZXJyb3JzL3dhcm5pbmdz IGFyZSBub3cgYWxsIGdvaW5nIHRvIHN0ZG91dAo+IGluc3RlYWQgb2YgaGF2aW5nIHRoZSBlcnJv cnMvd2FybmluZyBnb2luZyB0byBzdGRlcnIuCj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