Fixing job add with new rebuildd-job script

This commit is contained in:
Alexandre Aubin 2018-05-08 05:48:50 +02:00
parent a9989229fe
commit 0225d03387
2 changed files with 2 additions and 3 deletions

2
scripts/rebuildd-job Normal file → Executable file
View file

@ -66,6 +66,6 @@ def add_():
parser.add_argument('arch') parser.add_argument('arch')
args = parser.parse_args(sys.argv[2:]) 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() main()

View file

@ -38,8 +38,7 @@ fi
# Kick off the job # Kick off the job
for a in $arch; do for a in $arch; do
# package_name package_version priority dist_name arch mail sudo /home/vinaigrette/scripts/rebuildd-job add $package $version $codename $a
echo "$package $version 1 $codename $a $MAIL" | sudo rebuildd-job add
done done
exit 0 exit 0