Return-Path: Received: from astoria.ccjclearline.com (astoria.ccjclearline.com [64.235.106.9]) by mail.openembedded.org (Postfix) with ESMTP id 6495973905 for ; Sat, 7 Mar 2015 14:04:54 +0000 (UTC) Received: from [99.240.204.5] (port=41237 helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1YUFLc-0006P1-HR for openembedded-core@lists.openembedded.org; Sat, 07 Mar 2015 09:04:56 -0500 Date: Sat, 7 Mar 2015 09:04:52 -0500 (EST) From: "Robert P. J. Day" X-X-Sender: rpjday@Device-040570 To: OE Core mailing list Message-ID: User-Agent: Alpine 2.11 (LFD 23 2013-08-11) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - astoria.ccjclearline.com X-AntiAbuse: Original Domain - lists.openembedded.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: Subject: what's with the loop with "in in" in u-boot.inc? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2015 14:04:55 -0000 Content-Type: TEXT/PLAIN; charset=US-ASCII based on a recent post to this(?) list, i was curious about the following loop construct in u-boot.inc: for config in ${UBOOT_MACHINE}; do for type in in ${UBOOT_CONFIG}; do if [ "${type}"x = "in"x ] then continue fi the words "in in" above don't appear to be a typo, as the next condition explicitly checks for the value "in" and skips it. what's the rationale for that? i used "git blame" to examine the commit that introduced that, but it says nothing about that curiosity. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================