diff options
| -rw-r--r-- | bitbake/lib/bblayers/action.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bblayers/action.py b/bitbake/lib/bblayers/action.py index d1ba101de2..0d7fd6edd1 100644 --- a/bitbake/lib/bblayers/action.py +++ b/bitbake/lib/bblayers/action.py | |||
| @@ -66,7 +66,7 @@ class ActionPlugin(LayerPlugin): | |||
| 66 | 66 | ||
| 67 | def do_remove_layer(self, args): | 67 | def do_remove_layer(self, args): |
| 68 | """Remove one or more layers from bblayers.conf.""" | 68 | """Remove one or more layers from bblayers.conf.""" |
| 69 | bblayers_conf = os.path.join('conf', 'bblayers.conf') | 69 | bblayers_conf = os.path.join(findTopdir() ,'conf', 'bblayers.conf') |
| 70 | if not os.path.exists(bblayers_conf): | 70 | if not os.path.exists(bblayers_conf): |
| 71 | sys.stderr.write("Unable to find bblayers.conf\n") | 71 | sys.stderr.write("Unable to find bblayers.conf\n") |
| 72 | return 1 | 72 | return 1 |
