From: Zac Medico Date: Mon, 17 Sep 2012 01:27:32 +0000 (-0700) Subject: doheader: don't count -r as required arg X-Git-Tag: v2.2.0_alpha129~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=087fc47e7c98f1c49ab5b873f3b476f8c1e00a17;p=portage.git doheader: don't count -r as required arg --- diff --git a/bin/ebuild-helpers/doheader b/bin/ebuild-helpers/doheader index fa1156404..db3a02d09 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