That's to be fixed in bash-completion, not winegcc...
On Mon, Aug 22, 2011 at 5:31 PM, Bernhard Loos bernhardloos@googlemail.com wrote:
On Mon, Aug 22, 2011 at 5:35 PM, Alexandre Julliard julliard@winehq.org wrote:
Bernhard Loos bernhardloos@googlemail.com writes:
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index 284223e..3a7e93a 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -1326,6 +1326,7 @@ int main(int argc, char **argv) { case 'B': str = strdup(option_arg);
- if (strendswith(str, "/")) str[strlen(str) - 1] = 0;
Why would you want to append a slash to winebuild?
-- Alexandre Julliard julliard@winehq.org
Bash autocompletation. If you run winegcc manually, and autocomplete the -B argument to the winebuild dir, you end up with a / at the end. It's kinda hard to figure out, what goes wrong at this point.