diff options
-rw-r--r-- | src/opk.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -73,7 +73,11 @@ _opkg_opk_opk_add_seek_name(struct _opkg_opk_opk_seek_name **names, if (seek_name == NULL) { return OPKG_OPK_ERROR; } - seek_name->name = name; + if (name[0] == '.' && name[1] == '/') { + seek_name->name = name + 2; + } else { + seek_name->name = name; + } seek_name->found = 0; seek_name->next = *names; |