diff --git a/lib/package_alternatives.c b/lib/package_alternatives.c index 8d1512a4..d69db12b 100644 --- a/lib/package_alternatives.c +++ b/lib/package_alternatives.c @@ -71,7 +71,7 @@ reinit: else if (strncmp(p, "/./", 3) == 0 || strncmp(p, "/.", 3) == 0) { memmove(p, p+2, strlen(p+2) + 1); } - else if (*p == '/') + if (*p == '/') seg = p; } return path;