Merge "adb: don\'t pull symlinks." am: 29843cf141
am: e01de06892
am: b5706b5f08
* commit 'b5706b5f0830fa87244e3bf1685050a9b1da5703':
adb: don't pull symlinks.
This commit is contained in:
commit
4fde9d5698
|
@ -887,8 +887,7 @@ bool do_sync_pull(const std::vector<const char*>& srcs, const char* dst,
|
|||
continue;
|
||||
}
|
||||
|
||||
if (S_ISREG(src_mode) || S_ISLNK(src_mode)) {
|
||||
// TODO(b/25601283): symlinks shouldn't be handled as files.
|
||||
if (S_ISREG(src_mode)) {
|
||||
std::string path_holder;
|
||||
if (dst_isdir) {
|
||||
// If we're copying a remote file to a local directory, we
|
||||
|
|
Loading…
Reference in New Issue