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 6590B1381FB for ; Thu, 28 Mar 2013 16:20:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4604E08EB; Thu, 28 Mar 2013 16:20:52 +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 2AF1BE08EB for ; Thu, 28 Mar 2013 16:20:52 +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 3CBDC335E33 for ; Thu, 28 Mar 2013 16:20:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CA74CE4090 for ; Thu, 28 Mar 2013 16:20:49 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1364487877.b3c18b8f7ee1c0d7cfeac08f4a8c22cf667116b1.vapier@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: b3c18b8f7ee1c0d7cfeac08f4a8c22cf667116b1 X-VCS-Branch: master Date: Thu, 28 Mar 2013 16:20:49 +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: 906d8239-8d5e-4638-889e-5a34b2e6f537 X-Archives-Hash: 6f36be5061bc6286088c91d0198c26cc commit: b3c18b8f7ee1c0d7cfeac08f4a8c22cf667116b1 Author: Mike Frysinger gentoo org> AuthorDate: Thu Mar 28 16:24:37 2013 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Mar 28 16:24:37 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commit;h=b3c18b8f crossdev: fix bug in alias processing Signed-off-by: Mike Frysinger gentoo.org> --- crossdev | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/crossdev b/crossdev index 193ac4e..1256477 100755 --- a/crossdev +++ b/crossdev @@ -150,7 +150,7 @@ parse_target() { esac if [[ ${#aliases[@]} -eq 1 ]] ; then CTARGET=${aliases[0]} - else + elif [[ ${#aliases[@]} -gt 1 ]] ; then einfo "The '${CTARGET}' target is really an alias for the '${aliases}' target(s)" local alias for alias in ${aliases} ; do