mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
Fixing job add with new rebuildd-job script
This commit is contained in:
parent
a9989229fe
commit
0225d03387
2 changed files with 2 additions and 3 deletions
2
scripts/rebuildd-job
Normal file → Executable file
2
scripts/rebuildd-job
Normal file → Executable file
|
@ -66,6 +66,6 @@ def add_():
|
|||
parser.add_argument('arch')
|
||||
args = parser.parse_args(sys.argv[2:])
|
||||
|
||||
Rebuildd().add_job(args.package, args.version, 10, args.dist, mailto=None, arch=args.arch)
|
||||
Rebuildd().add_job(args.package, args.version, "10", args.dist, mailto=None, arch=args.arch)
|
||||
|
||||
main()
|
||||
|
|
|
@ -38,8 +38,7 @@ fi
|
|||
|
||||
# Kick off the job
|
||||
for a in $arch; do
|
||||
# package_name package_version priority dist_name arch mail
|
||||
echo "$package $version 1 $codename $a $MAIL" | sudo rebuildd-job add
|
||||
sudo /home/vinaigrette/scripts/rebuildd-job add $package $version $codename $a
|
||||
done
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue