diff options
author | Ken Gilmer <kgilmer@gmail.com> | 2011-07-01 18:43:37 +0900 |
---|---|---|
committer | Ken Gilmer <kgilmer@gmail.com> | 2011-07-01 18:43:37 +0900 |
commit | 26c8f3d57ff23246545b65b87d679534a9423210 (patch) | |
tree | 77a24e9631a8c89075bf6dad68df50253323bbf9 /org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeImportAction.java | |
parent | 4c892e2bef2f65a92ec24defd224e1c91ce844c5 (diff) | |
download | eclipsetools-26c8f3d57ff23246545b65b87d679534a9423210.tar.gz |
OTE: all actions against bitbake now use package name-version instead of
directly referencing the recipe file.
Diffstat (limited to 'org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeImportAction.java')
-rw-r--r-- | org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeImportAction.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeImportAction.java b/org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeImportAction.java index e8e093f..92caba1 100644 --- a/org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeImportAction.java +++ b/org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeImportAction.java @@ -60,7 +60,8 @@ public class BitbakeImportAction extends AbstractBitbakeCommandAction { } if (!workdir.exists()) { - execCommands(new String[] {"bitbake -c patch -b " + recipe.getLocationURI().getPath()}, monitor); + String packageName = getRecipeFromIFile(recipe); + execCommands(new String[] {"bitbake -c patch " + packageName}, monitor); } if (!workdir.exists()) { |