From: donghee yang Date: Tue, 20 Nov 2012 02:30:29 +0000 (+0900) Subject: [Title] Fixed a bug that rootstrap generation failed X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c08b905cb20b348297e02ef878688e44cb3469f1;p=sdk%2Fide%2Fnativeplatform-eplugin.git [Title] Fixed a bug that rootstrap generation failed --- diff --git a/org.tizen.nativeplatform/src/org/tizen/nativeplatform/rootstrap/RootstrapManager.java b/org.tizen.nativeplatform/src/org/tizen/nativeplatform/rootstrap/RootstrapManager.java index 928fb4f..522c359 100644 --- a/org.tizen.nativeplatform/src/org/tizen/nativeplatform/rootstrap/RootstrapManager.java +++ b/org.tizen.nativeplatform/src/org/tizen/nativeplatform/rootstrap/RootstrapManager.java @@ -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() ) {