From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D6D8F1381F3 for ; Sat, 22 Jun 2013 15:14:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35262E0968; Sat, 22 Jun 2013 15:14:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9B3F5E0899 for ; Sat, 22 Jun 2013 15:14:28 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C9C633DA22 for ; Sat, 22 Jun 2013 15:14:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 291BCE468F for ; Sat, 22 Jun 2013 15:14:26 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1371895343.b333d613f634a15b59776caa277fec4db577c406.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:gsoc13/next commit in: files/shlib/ X-VCS-Repository: proj/R_overlay X-VCS-Files: files/shlib/functions.sh X-VCS-Directories: files/shlib/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: b333d613f634a15b59776caa277fec4db577c406 X-VCS-Branch: gsoc13/next Date: Sat, 22 Jun 2013 15:14:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2aa39f4b-ea37-4708-8744-faa161f86b06 X-Archives-Hash: 72337c657f714aba56b2bba2be2b8eca Message-ID: <20130622151426.9inM91LBP8CNvQag6vzSXkVgcHn6D99Rjx9kd7M4IkE@z> commit: b333d613f634a15b59776caa277fec4db577c406 Author: André Erdmann mailerd de> AuthorDate: Sat Jun 22 10:02:23 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Sat Jun 22 10:02:23 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=b333d613 files/shlib/functions.sh:dodir: don't deadlock Added a missing 'shift' statement. --- files/shlib/functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/shlib/functions.sh b/files/shlib/functions.sh index d429ff2..5de73d5 100644 --- a/files/shlib/functions.sh +++ b/files/shlib/functions.sh @@ -267,6 +267,7 @@ dodir() { local fail=0 while [ $# -gt 0 ]; do [ -d "${1}" ] || mkdir -p -- "${1}" || fail=$(( ${fail} + 1 )) + shift done return ${fail} }