Signed-off-by: John Crispin <blogic@openwrt.org>
static void replace_dash(char *s)
{
+ if (*s == '-')
+ return;
while (s && *s) {
if (*s == '-')
*s = '_';
char *dep;
int err = 0;
- if (!strcmp(m->depends, "_") || !strcmp(m->depends, ""))
+ if (!strcmp(m->depends, "-") || !strcmp(m->depends, ""))
return 0;
dep = m->depends;
char *dep;
struct module *m;
- if (!strcmp(_m->depends, "_") || !strcmp(_m->depends, ""))
+ if (!strcmp(_m->depends, "-") || !strcmp(_m->depends, ""))
return;
dep = _m->depends;