8000 Merge pull request #603 from tito/fix-move-t · peterdocter/python-for-android@43348ed · GitHub
[go: up one dir, main page]

Skip to content

Commit 43348ed

Browse files
committed
Merge pull request kivy#603 from tito/fix-move-t
Fixes empty argument to mv -t
2 parents 884e509 + 76e899e commit 43348ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonforandroid/bootstrap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@ def fry_eggs(self, sitepackages):
261261
if isdir(rd) and d.endswith('.egg'):
262262
info(' ' + d)
263263
files = [join(rd, f) for f in listdir(rd) if f != 'EGG-INFO']
264-
shprint(sh.mv, '-t', sitepackages, *files)
264+
if files:
265+
shprint(sh.mv, '-t', sitepackages, *files)
265266
shprint(sh.rm, '-rf', d)
266-

0 commit comments

Comments
 (0)
0