ehanp88 / roottools

Automatically exported from code.google.com/p/roottools
0 stars 0 forks source link

InternalMethod getBusyBoxApplets(String path) bug #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Because of a fail logic here if we call
RootTools.getBusyBoxApplets()
It will be the same as calling RootTools.getBusyBoxApplets("/") which is wrong.

To fix it simply do this for InternalMethod.getBusyBoxApplets(String path)
static List<String> getBusyBoxApplets(String path) throws Exception {
 if (path != null && !path.endsWith("/") && !path.isEmpty()) {
  path += "/";
 }

"&& !path.isEmpty()" is what missing.

Original issue reported on code.google.com by thuanb...@gmail.com on 27 Dec 2012 at 12:25

GoogleCodeExporter commented 8 years ago
This has been address and will be available in 2.6 release.

Original comment by Stericso...@gmail.com on 29 Jan 2013 at 9:40