diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-22 22:16:58 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-22 22:16:58 +0000 |
commit | 77a70999df1bd4e67aadb02bd673449beae124b8 (patch) | |
tree | cf0fae1fc952ec3e2958e32c7441655f02848c17 /modules/buildsystem/templates/binrepo/upload-bin | |
parent | 9d7449fb7975570ab39f1ed64615188cbc8a4226 (diff) | |
download | puppet-77a70999df1bd4e67aadb02bd673449beae124b8.tar puppet-77a70999df1bd4e67aadb02bd673449beae124b8.tar.gz puppet-77a70999df1bd4e67aadb02bd673449beae124b8.tar.bz2 puppet-77a70999df1bd4e67aadb02bd673449beae124b8.tar.xz puppet-77a70999df1bd4e67aadb02bd673449beae124b8.zip |
buildsystem: move binrepo config to buildsystem::var::binrepo
Diffstat (limited to 'modules/buildsystem/templates/binrepo/upload-bin')
-rwxr-xr-x | modules/buildsystem/templates/binrepo/upload-bin | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/buildsystem/templates/binrepo/upload-bin b/modules/buildsystem/templates/binrepo/upload-bin index f90130f3..7cad5838 100755 --- a/modules/buildsystem/templates/binrepo/upload-bin +++ b/modules/buildsystem/templates/binrepo/upload-bin @@ -1,11 +1,11 @@ #!/bin/sh set -e -binrepodir=<%= repodir %> -uploadinfosdir=<%= uploadinfosdir %> +binrepodir=<%= scope.lookupvar('buildsystem::var::binrepo::repodir') %> +uploadinfosdir=<%= scope.lookupvar('buildsystem::var::binrepo::uploadinfosdir') %> tmpfile=$(mktemp) -mail_from="<%= uploadmail_from %>" -mail_dest="<%= uploadmail_to %>" +mail_from="<%= scope.lookupvar('buildsystem::var::binrepo::uploadmail_from') %>" +mail_dest="<%= scope.lookupvar('buildsystem::var::binrepo::uploadmail_to') %>" test $# = 2 || exit 3 username="$1" |