Skip to content

Commit 8df2829

Browse files
author
Samuel Moors
committed
format
1 parent 0e0ffb9 commit 8df2829

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

easybuild/tools/bwrap.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ def prepare_bwrap(bwrap_installpath):
137137
mkdir(bwrap_workdir, parents=True)
138138
bwrap_cmd.extend([
139139
'--overlay-src', installpath_modules,
140-
'--overlay', bwrap_installpath_modules,
141-
bwrap_workdir, installpath_modules])
140+
'--overlay', bwrap_installpath_modules, bwrap_workdir, installpath_modules])
142141

143142
# store bwrap options in a set to avoid duplicate binds
144143
bwrap_opts = set()
@@ -164,8 +163,7 @@ def prepare_bwrap(bwrap_installpath):
164163
mkdir(bwrap_workdir, parents=True)
165164
bwrap_opts.add((
166165
'--overlay-src', installdir,
167-
'--overlay', bwrap_installdir,
168-
bwrap_workdir, installdir))
166+
'--overlay', bwrap_installdir, bwrap_workdir, installdir))
169167
else:
170168
bwrap_opts.add((
171169
'--bind', bwrap_installdir, installdir))

0 commit comments

Comments
 (0)