If you have quotes around the value of PORTDIR, qsearch fails: PORTDIR=/usr/portage (works) PORTDIR='/usr/portage' (fails) qsearch: chdir to PORTDIR '/usr/portagee' failed: No such file or directory
this should fix it: --- main.c +++ main.c @@ -306,7 +306,7 @@ static char *rmspace(char *s) for (p = s; (isspace(*p) && *p); ++p); /* move the memory backward to overwrite leading space */ if (p != s) - memmove(s, p, strlen(p)); + memmove(s, p, strlen(p)+1); return s; }
portage-utils-0.1.1 added to the tree
should be fixed now