Merged in [19130] from lars@eggert.org:
Allow executing bower as root; for running within docker. - Legacy-Id: 19140 Note: SVN reference [19130] has been migrated to Git commit a468853b4c247f5221749d4cb9cb16e0722767e1
This commit is contained in:
parent
2e861b5eff
commit
d7e3c08124
|
@ -79,7 +79,7 @@ class Command(BaseCommand):
|
||||||
print("Installing from %s\n" % bower_json_path)
|
print("Installing from %s\n" % bower_json_path)
|
||||||
|
|
||||||
# bower args
|
# bower args
|
||||||
args = ['bower', 'install', bower_json_path,
|
args = ['bower', 'install', bower_json_path, '--allow-root',
|
||||||
'--verbose', '--config.cwd={}'.format(dest_dir), '-p']
|
'--verbose', '--config.cwd={}'.format(dest_dir), '-p']
|
||||||
|
|
||||||
# run bower command
|
# run bower command
|
||||||
|
|
Loading…
Reference in a new issue