aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-08-16 22:45:25 +0000
committerNicolas Vigier <boklm@mageia.org>2011-08-16 22:45:25 +0000
commit0ffc84db1b40474754557c16f4725ce2017ac9ef (patch)
treea2d74dad80373774a6447423eb9bcdcc2e759463 /modules
parent34bf9800176cc03afaf85068c3ef3136555b5f3d (diff)
downloadpuppet-0ffc84db1b40474754557c16f4725ce2017ac9ef.tar
puppet-0ffc84db1b40474754557c16f4725ce2017ac9ef.tar.gz
puppet-0ffc84db1b40474754557c16f4725ce2017ac9ef.tar.bz2
puppet-0ffc84db1b40474754557c16f4725ce2017ac9ef.tar.xz
puppet-0ffc84db1b40474754557c16f4725ce2017ac9ef.zip
check number of arguments
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/buildsystem/templates/upload-bin1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/upload-bin b/modules/buildsystem/templates/upload-bin
index 30730874..6c92aeed 100755
--- a/modules/buildsystem/templates/upload-bin
+++ b/modules/buildsystem/templates/upload-bin
@@ -5,6 +5,7 @@ tmpfile=$(mktemp)
mail_from="root@mageia.org"
mail_dest="boklm@mars-attacks.org"
+test $# = 2 || exit 3
username="$1"
comment="$2"