Skip to content

Commit a468853

Browse files
committed
Allow executing bower as root; for running within docker.
Commit ready for merge. - Legacy-Id: 19130
1 parent b063eb4 commit a468853

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)