Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
abejgonzalez committed Jun 17, 2024
1 parent 7bc79d8 commit 4fc1997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wlutil/wlutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,10 +692,10 @@ def copyImgFiles(img, files, direction):
for f in files:
if direction == 'in':
dst = str(getOpt('mnt-dir') / f.dst.relative_to('/'))
run(['cp', '-a', str(f.src), dst])
run(['cp', '-a', '-f', str(f.src), dst])
elif direction == 'out':
src = str(getOpt('mnt-dir') / f.src.relative_to('/'))
run(['cp', '-a', src, str(f.dst)])
run(['cp', '-a', '-f', src, str(f.dst)])
else:
raise ValueError("direction option must be either 'in' or 'out'")

Expand Down

0 comments on commit 4fc1997

Please sign in to comment.