From c08b905cb20b348297e02ef878688e44cb3469f1 Mon Sep 17 00:00:00 2001 From: donghee yang Date: Tue, 20 Nov 2012 11:30:29 +0900 Subject: [PATCH] [Title] Fixed a bug that rootstrap generation failed --- .../src/org/tizen/nativeplatform/rootstrap/RootstrapManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ) { -- 2.7.4