Skip to content

Commit d7e3c08

Browse files
committed
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 a468853
1 parent 2e861b5 commit d7e3c08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

djangobwr/management/commands/bower_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def bower_install(self, bower_json_path, dest_dir):
7979
print("Installing from %s\n" % bower_json_path)
8080

8181
# bower args
82-
args = ['bower', 'install', bower_json_path,
82+
args = ['bower', 'install', bower_json_path, '--allow-root',
8383
'--verbose', '--config.cwd={}'.format(dest_dir), '-p']
8484

8585
# run bower command

0 commit comments

Comments
 (0)