[FIX] setup: typo in command line

Sign CLA

Closes #20321
This commit is contained in:
Andrew Latham
2017-10-23 16:37:27 +02:00
committed by Martin Trigaux
parent 148cde0695
commit cd5f61df6d
2 changed files with 12 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
United States of America, 2017-10-18
I hereby agree to the terms of the Odoo Individual Contributor License Agreement v1.0.
I declare that I am authorized and able to make this agreement and sign this declaration.
Signed,
Andrew Latham lathama@gmail.com https://github.com/lathama
+2 -2
View File
@@ -288,7 +288,7 @@ def build_deb(o):
deb.expect(pexpect.EOF, timeout=1200)
else:
subprocess.call(['dpkg-buildpackage', '-rfakeroot', '-uc', '-us'], cwd=o.build_dir)
# As the packages are builded in the parent of the buildir, we move them back to build_dir
# As the packages are built in the parent of the buildir, we move them back to build_dir
build_dir_parent = '{}/../'.format(o.build_dir)
wildcards = ['odoo_{}'.format(wc) for wc in ('*.deb', '*.dsc', '*_amd64.changes', '*.tar.gz', '*.tar.xz')]
move_glob(build_dir_parent, wildcards, o.build_dir)
@@ -445,7 +445,7 @@ def options():
op.add_option("-b", "--build-dir", default=build_dir, help="build directory (%default)", metavar="DIR")
op.add_option("-p", "--pub", default=None, help="pub directory (%default)", metavar="DIR")
op.add_option("", "--no-testing", action="store_true", help="don't test the builded packages")
op.add_option("", "--no-testing", action="store_true", help="don't test the built packages")
op.add_option("", "--no-debian", action="store_true", help="don't build the debian package")
op.add_option("", "--no-debsign", action="store_true", help="don't sign the debian package")