diff options
author | Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2010-08-07 12:53:10 +0200 |
---|---|---|
committer | Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2010-08-07 12:56:13 +0200 |
commit | ca9b8af6af8c7ef32573271c99746c080d4e3ecb (patch) | |
tree | fd5536f2be8ee93293afff3c62d5d55713e5adc1 | |
parent | Stop double-tweets when re-merging without tests. (diff) | |
download | flameeyes-tinderbox-ca9b8af6af8c7ef32573271c99746c080d4e3ecb.tar.gz flameeyes-tinderbox-ca9b8af6af8c7ef32573271c99746c080d4e3ecb.tar.bz2 flameeyes-tinderbox-ca9b8af6af8c7ef32573271c99746c080d4e3ecb.zip |
Allow fetching rdeps for multiple packages, folded together, and filter blockers.
-rwxr-xr-x[-rw-r--r--] | fetch-reverse-deps.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fetch-reverse-deps.sh b/fetch-reverse-deps.sh index 9b8442a..486bad8 100644..100755 --- 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 ' ' '/' | \ |