From 087fc47e7c98f1c49ab5b873f3b476f8c1e00a17 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 16 Sep 2012 18:27:32 -0700 Subject: [PATCH] doheader: don't count -r as required arg --- bin/ebuild-helpers/doheader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2