mirror of
https://github.com/ARM-software/devlib.git
synced 2025-02-07 05:30:44 +00:00
Merge pull request #103 from marcbonnici/issue_102
Target: Fixes __setup_list_directory issue on production devices.
This commit is contained in:
commit
1061c94951
@ -894,7 +894,7 @@ class AndroidTarget(Target):
|
|||||||
# so we try the new version, and if it fails we use the old version.
|
# so we try the new version, and if it fails we use the old version.
|
||||||
self.ls_command = 'ls -1'
|
self.ls_command = 'ls -1'
|
||||||
try:
|
try:
|
||||||
self.execute('ls -1 /', as_root=False)
|
self.execute('ls -1 {}'.format(self.working_directory), as_root=False)
|
||||||
except TargetError:
|
except TargetError:
|
||||||
self.ls_command = 'ls'
|
self.ls_command = 'ls'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user