diff options
| author | Nicolas Vigier <boklm@mageia.org> | 2011-08-16 22:45:25 +0000 |
|---|---|---|
| committer | Nicolas Vigier <boklm@mageia.org> | 2011-08-16 22:45:25 +0000 |
| commit | 0ffc84db1b40474754557c16f4725ce2017ac9ef (patch) | |
| tree | a2d74dad80373774a6447423eb9bcdcc2e759463 | |
| parent | 34bf9800176cc03afaf85068c3ef3136555b5f3d (diff) | |
| download | puppet-0ffc84db1b40474754557c16f4725ce2017ac9ef.tar puppet-0ffc84db1b40474754557c16f4725ce2017ac9ef.tar.gz puppet-0ffc84db1b40474754557c16f4725ce2017ac9ef.tar.bz2 puppet-0ffc84db1b40474754557c16f4725ce2017ac9ef.tar.xz puppet-0ffc84db1b40474754557c16f4725ce2017ac9ef.zip | |
check number of arguments
| -rwxr-xr-x | modules/buildsystem/templates/upload-bin | 1 |
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" |
