mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +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.
|
||||
self.ls_command = 'ls -1'
|
||||
try:
|
||||
self.execute('ls -1 /', as_root=False)
|
||||
self.execute('ls -1 {}'.format(self.working_directory), as_root=False)
|
||||
except TargetError:
|
||||
self.ls_command = 'ls'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user