Skip to content
Snippets Groups Projects
Unverified Commit cd5f61df authored by Andrew Latham's avatar Andrew Latham Committed by Martin Trigaux
Browse files

[FIX] setup: typo in command line

Sign CLA

Closes #20321
parent 148cde06
No related branches found
No related tags found
No related merge requests found
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
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment