pkg: handle node::package being crap

feature/tap-sh
William Pitcock 2011-07-25 01:03:13 -05:00
parent 714bcaaac7
commit a3f2a47136
1 changed files with 3 additions and 0 deletions

3
pkg.c
View File

@ -44,6 +44,9 @@ pkg_traverse(pkg_t *root,
{
pkg_t *pkgdep;
if (*node->package == '\0')
continue;
pkgdep = pkg_find(node->package);
if (pkgdep == NULL)
{