diff --git a/toolchain/toolchain-wrapper.c b/toolchain/toolchain-wrapper.c index 3a4455ff82..a73e6d6f94 100644 --- a/toolchain/toolchain-wrapper.c +++ b/toolchain/toolchain-wrapper.c @@ -192,7 +192,7 @@ int main(int argc, char **argv) for (i = ret; i > 0; i--) { if (absbasedir[i] == '/') { absbasedir[i] = '\0'; - if (++count == 3) + if (++count == 2) break; } }