From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay02.ispgateway.de ([80.67.18.44]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VALuW-0005np-CV for ptxdist@pengutronix.de; Fri, 16 Aug 2013 17:26:15 +0200 Received: from [78.47.165.117] (helo=regiomontanus.your-server.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1VALuV-00047Y-Mi for ptxdist@pengutronix.de; Fri, 16 Aug 2013 17:25:55 +0200 From: Bernhard Walle Date: Fri, 16 Aug 2013 17:25:53 +0200 Message-Id: <1376666753-14829-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH] Fix problem with finding platforms/*.in Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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 ptxdist 2013.08 doesn't find my platforms/u-boot.in file. This is because it looks for ":/path/to/bsp/platforms" instead of the variant without colon. Following shell script demonstrates that: #!/bin/bash oldifs="$IFS" IFS=: a="1:2:3:" b="4:5:6:" c=(${a}:${b}) d=(${a} ${b}) IFS="$oldifs" echo ${c[@]} # 1 2 3 :4 5 6 echo ${d[@]} # 1 2 3 4 5 6 So only the variant without a ':' is correct. The problem was introduced with 51c5786c16a9a3508af9b6cc69947a2f3b8bc7cf on 20th June 2013. So I think it was also in 2013.07 although I didn't test.( Signed-off-by: Bernhard Walle --- scripts/lib/ptxd_lib_kgen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_lib_kgen.sh b/scripts/lib/ptxd_lib_kgen.sh index 6c7b54b..c50df13 100644 --- a/scripts/lib/ptxd_lib_kgen.sh +++ b/scripts/lib/ptxd_lib_kgen.sh @@ -90,7 +90,7 @@ EOF # transmogrify part into subdir local oldIFS="$IFS" case "${kgen_part}" in - ptx|platform) IFS=: kgen_dirs=( ${PTXDIST_PATH_RULES}:${PTXDIST_PATH_PLATFORMS} ) ;; + ptx|platform) IFS=: kgen_dirs=( ${PTXDIST_PATH_RULES} ${PTXDIST_PATH_PLATFORMS} ) ;; board|user|collection) return 0 ;; *) cat <