9 # provide deb-src by uncommenting
10 echo "D: adjusting the sources"
11 sed -i -e 's,^#deb-src,deb-src,g' /etc/apt/sources.list
13 cat /etc/apt/sources.list
18 apt-get install -y devscripts dctrl-tools
19 rm -f build-rdeps.output
20 echo "D: querying rdepds for $@"
22 # D: interactive shell for debugging
23 # /bin/bash < /dev/tty > /dev/tty 2> /dev/tty
26 build-rdeps --distribution $dist $pkg >> build-rdeps.output
30 cat build-rdeps.output
32 # Fetch all the sources
33 grep -v -e '^[-A-Z]' -e '^ *$' build-rdeps.output \
35 | tee build-rdeps.list \
37 apt-get source --download-only $pkg