From ca9b8af6af8c7ef32573271c99746c080d4e3ecb Mon Sep 17 00:00:00 2001 From: Diego Elio 'Flameeyes' Pettenò Date: Sat, 7 Aug 2010 12:53:10 +0200 Subject: Allow fetching rdeps for multiple packages, folded together, and filter blockers. --- fetch-reverse-deps.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 fetch-reverse-deps.sh diff --git a/fetch-reverse-deps.sh b/fetch-reverse-deps.sh old mode 100644 new mode 100755 index 9b8442a..486bad8 --- a/fetch-reverse-deps.sh +++ b/fetch-reverse-deps.sh @@ -1,6 +1,10 @@ #!/bin/sh -wget -q -O- http://tinderbox.dev.gentoo.org/misc/{r,d}index/$1 | \ +( + for atom in $@; do + wget -q -O- http://tinderbox.dev.gentoo.org/misc/{r,d}index/${atom} + done +) | egrep -v '^\[B\]' | \ xargs -n1 qatom | \ cut -d ' ' -f 1-2 | \ tr ' ' '/' | \ -- cgit v1.2.3-65-gdbad