diff options
author | Kristina Chodorow <kchodorow@google.com> | 2016-05-17 15:43:33 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2016-05-17 16:19:53 +0000 |
commit | 3caacf17fadfe6ce491565e0113c7d8bb13b07e5 (patch) | |
tree | bdd6d4e263730d8521c7aaa0b8c787bda6a9d4d1 /src/tools/remote_worker | |
parent | 5ec6a258d41ef7c2174eb0e0c83ed0fbb7376286 (diff) |
Support top-level packages in pkg_tar
Previously, _short_path_dirname would take a short path like "libfoo.jar",
rfind would return -1, sp[:-1] would return "libfoo.ja", and then
_dest_path would strip that prefix off of "libfoo.jar", leaving just "r".
Also added some unit tests for these functions.
Fixes #1253.
--
MOS_MIGRATED_REVID=122527723
Diffstat (limited to 'src/tools/remote_worker')
0 files changed, 0 insertions, 0 deletions