[Title] bug fix tool install
authorgune.kim <gune.kim@samsung.com>
Wed, 21 Dec 2011 05:54:19 +0000 (14:54 +0900)
committergune.kim <gune.kim@samsung.com>
Wed, 21 Dec 2011 05:54:19 +0000 (14:54 +0900)
com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/debugtools/ToolsInstall.java

index cc75793..f07d470 100644 (file)
@@ -165,6 +165,10 @@ class InstallProgress implements IRunnableWithProgress {
        private void removeOldPackage(String packagename) {
                try {
                        SdbShellProcess echoProc = device.executeShellCommand("rm -rf " + TOOLS_TARGET_PATH + "/" + packagename);
+                       BufferedReader br = new BufferedReader(new InputStreamReader(echoProc.getInputStream()));
+                       while (null != br.readLine()){
+                               
+                       }
                } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();