Merged to eclipse-poky-kepler master.

Thanks,
Jessica

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Alexandru Georgescu
Sent: Thursday, February 20, 2014 7:11 AM
To: [email protected]
Subject: [yocto] [eclipse-poky-kepler][PATCH] Fix cloning for a Bitbake 
Commander Project

Previous commit changed the way YoctoCommand sets a command forcing use of bash.
However cloning a git repo passed the repository as argument, which doesn't 
work anymore, fix it by using a single command string.

[YOCTO #5757]

Signed-off-by: Alexandru Georgescu <[email protected]>
---
 .../src/org/yocto/bc/ui/wizards/install/InstallWizard.java           | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/install/InstallWizard.java
 
b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/install/InstallWizard.java
index 32a0b4d..f64401c 100644
--- 
a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/install/InstallWizard.java
+++ b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/install/Instal
+++ lWizard.java
@@ -148,11 +148,10 @@ public class InstallWizard extends FiniteStateWizard 
implements
                        CommandResponseHandler cmdHandler = new 
CommandResponseHandler(RemoteHelper.getConsole(connection));
                        IWizardContainer container = this.getContainer();
                        if (((Boolean)options.get(GIT_CLONE)).booleanValue()) {
-                               String cmd = "/usr/bin/git clone --progress";
-                               String args = 
"git://git.yoctoproject.org/poky.git " + uri.getPath();
+                               String cmd = "git clone --progress 
+git://git.yoctoproject.org/poky.git " + uri.getPath();
                                String taskName = "Checking out Yocto git 
repository";
 
-                               YoctoRunnableWithProgress adapter = new 
YoctoRunnableWithProgress(new YoctoCommand(cmd, "", args));
+                               YoctoRunnableWithProgress adapter = new 
+YoctoRunnableWithProgress(new YoctoCommand(cmd, "", ""));
 
                                adapter.setRemoteConnection(remoteConnection);
                                adapter.setRemoteServices(remoteServices);
--
1.8.5.3

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to