allow jhbuild to run as root (#52319)

This commit is contained in:
Frédéric Péters 2021-03-29 14:15:08 +02:00
parent c58ab3579b
commit 7f029dd80f
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ jhbuildrc = os.path.join(os.getcwd(), 'jhbuildrc')
checkouts_directory = os.path.join(os.getcwd(), '..', 'src')
web_directory = os.path.join(os.getcwd(), '..', 'web')
os.environ['JHBUILD_RUN_AS_ROOT'] = '1'
if not os.path.exists('jhbuild'):
os.system('jhbuild -f jhbuildrc -m doceo.modules buildone itstool yelp-xsl yelp-tools')