diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-11-02 15:31:22 +0400 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-11-02 15:31:22 +0400 |
commit | a7620aa4c029a599bc65eecb893dc5ff0425dd46 (patch) | |
tree | f33c03087befd28add586230947b7ef784cef75c | |
parent | efb7d7bcb8d8e5bf370372cca6d6952e4e56e1f8 (diff) |
Simplify things a bit, and still more speed
-rw-r--r-- | src/poudriere.d/common.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/poudriere.d/common.sh b/src/poudriere.d/common.sh index 1eea5c5a..9e4c2c7c 100644 --- a/src/poudriere.d/common.sh +++ b/src/poudriere.d/common.sh @@ -386,9 +386,8 @@ list_deps() { for key in $LIST; do MAKEARGS="${MAKEARGS} -V${key}" done - injail make -C ${1} $MAKEARGS | sed -e "s,[[:graph:]]*/usr/ports/,,g" | while read line; do - echo $line - done + injail make -C ${1} $MAKEARGS | sed -e "s,[[:graph:]]*/usr/ports/,,g" | \ + tr ' ' '\n' | sort -u } process_deps() { |