summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-07 17:43:03 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-07 18:34:16 +0100
commiteb94d42df886db5c1ff56e57ac5da5e012bdead3 (patch)
tree18bc416ab3edd792146a86859075910bf8c77d32
parentc8a8f5e669973cbbc57fe1ed2f87548cd3313714 (diff)
concat-deps: bin pointless duplication
Change-Id: I8aedf930bc007bf83f8111db9a5565668142321e
-rw-r--r--solenv/bin/concat-deps.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index ddbaf2463dc4..44d83f195459 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -846,16 +846,9 @@ static inline void print_fullpaths(char* line)
end = token + 2;
}
}
- else if(*token == ':' || *token == '\\' || *token == '/' ||
- *token == '$' || ':' == token[1])
- {
- if(fwrite(token, token_len, 1, stdout) != 1)
- abort();
- fputc(' ', stdout);
- }
else
{
- if(fwrite(token, end - token, 1, stdout) != 1)
+ if (fwrite(token, token_len, 1, stdout) != 1)
abort();
fputc(' ', stdout);
}