diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/oe-pkgdata-browser | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser index 8d223185a4..65a6ee956e 100755 --- a/scripts/oe-pkgdata-browser +++ b/scripts/oe-pkgdata-browser | |||
| @@ -236,6 +236,8 @@ class PkgUi(): | |||
| 236 | update_deps("RPROVIDES", "Provides: ", self.provides_label, clickable=False) | 236 | update_deps("RPROVIDES", "Provides: ", self.provides_label, clickable=False) |
| 237 | 237 | ||
| 238 | def load_recipes(self): | 238 | def load_recipes(self): |
| 239 | if not os.path.exists(pkgdata): | ||
| 240 | sys.exit("Error: Please ensure %s exists by generating packages before using this tool." % pkgdata) | ||
| 239 | for recipe in sorted(os.listdir(pkgdata)): | 241 | for recipe in sorted(os.listdir(pkgdata)): |
| 240 | if os.path.isfile(os.path.join(pkgdata, recipe)): | 242 | if os.path.isfile(os.path.join(pkgdata, recipe)): |
| 241 | self.recipe_iters[recipe] = self.recipe_store.append([recipe]) | 243 | self.recipe_iters[recipe] = self.recipe_store.append([recipe]) |
