projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da62f9
)
doheader: don't count -r as required arg
author
Zac Medico
<zmedico@gentoo.org>
Mon, 17 Sep 2012 01:27:32 +0000
(18:27 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 17 Sep 2012 01:27:32 +0000
(18:27 -0700)
bin/ebuild-helpers/doheader
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/doheader
b/bin/ebuild-helpers/doheader
index fa11564040df73d7ecc20274d65a624745b2e664..db3a02d09e8f3edc4bce2af00d49b14a85c7983a 100755
(executable)
--- 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