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 37A47138010 for ; Mon, 17 Sep 2012 01:27:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8AAF21C029; Mon, 17 Sep 2012 01:27:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7BFD521C029 for ; Mon, 17 Sep 2012 01:27:48 +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 DCD88335E2E for ; Mon, 17 Sep 2012 01:27:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1B4F0E5442 for ; Mon, 17 Sep 2012 01:27:46 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1347845252.087fc47e7c98f1c49ab5b873f3b476f8c1e00a17.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/doheader X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 087fc47e7c98f1c49ab5b873f3b476f8c1e00a17 X-VCS-Branch: master Date: Mon, 17 Sep 2012 01:27:46 +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: 23b8ac3c-d574-4f03-8f4e-684da49951f3 X-Archives-Hash: 42721ea3ec8ea6578683b0351064c386 commit: 087fc47e7c98f1c49ab5b873f3b476f8c1e00a17 Author: Zac Medico gentoo org> AuthorDate: Mon Sep 17 01:27:32 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Sep 17 01:27:32 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=087fc47e doheader: don't count -r as required arg --- bin/ebuild-helpers/doheader | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/ebuild-helpers/doheader b/bin/ebuild-helpers/doheader index fa11564..db3a02d 100755 --- a/bin/ebuild-helpers/doheader +++ b/bin/ebuild-helpers/doheader @@ -10,7 +10,7 @@ case "${EAPI}" in ;; esac -if [[ $# -lt 1 ]] ; then +if [[ $# -lt 1 ]] || [[ $1 == -r && $# -lt 2 ]] ; then __helpers_die "${0##*/}: at least one argument needed" exit 1 fi