Undo "+=" thing

oh no this made no sense given that it was *prepending* to `rest`.
This commit is contained in:
Fabian Homborg 2022-05-19 22:55:42 +02:00
parent 00949fccda
commit 8e38ee884f

View file

@ -691,9 +691,7 @@ static int path_resolve(parser_t &parser, io_streams_t &streams, int argc, const
real = normalize_path(*real, false);
break;
}
rest = wbasename(next);
rest += L'/';
rest += rest;
rest = wbasename(next) + L'/' + rest;
}
if (!real) {
continue;