[Title] Fixed a bug that rootstrap generation failed
authordonghee yang <donghee.yang@samsung.com>
Tue, 20 Nov 2012 02:30:29 +0000 (11:30 +0900)
committerdonghee yang <donghee.yang@samsung.com>
Tue, 20 Nov 2012 02:30:29 +0000 (11:30 +0900)
org.tizen.nativeplatform/src/org/tizen/nativeplatform/rootstrap/RootstrapManager.java

index 928fb4f..522c359 100644 (file)
@@ -454,7 +454,7 @@ public class RootstrapManager {
                        // copy
                        String rootstrapBasePath = new File(getRootstrapPath(id)).getParent();
                        CommandLauncher.execute(String.format("mkdir -p %s", rootstrapBasePath));
-                       CommandLauncher.executeSudo(String.format("sudo -S mv %/%s %s/", tempDirPath, id, rootstrapBasePath), tempDirPath);
+                       CommandLauncher.executeSudo(String.format("sudo -S mv %s/%s %s/", tempDirPath, id, rootstrapBasePath));
                }
                finally {
                        if ( new File(tempDirPath).exists() ) {