[yocto] [eclipse-poky-kepler][PATCH] Fix cloning for a Bitbake Commander Project
Zhang, Jessica
jessica.zhang at intel.com
Thu Feb 20 10:58:16 PST 2014
Merged to eclipse-poky-kepler master.
Thanks,
Jessica
-----Original Message-----
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Alexandru Georgescu
Sent: Thursday, February 20, 2014 7:11 AM
To: yocto at yoctoproject.org
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 <alexandru.c.georgescu at intel.com>
---
.../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
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
More information about the yocto
mailing list