From 4e1ffc9fdbf012a9611254a93c1d8680f5d3fa9c Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 3 Mar 2006 16:32:49 +0000 Subject: check it out git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@4991 33e552b5-05e3-0310-8538-816dae2090ed --- scripts/dep_hunter.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 scripts/dep_hunter.sh diff --git a/scripts/dep_hunter.sh b/scripts/dep_hunter.sh new file mode 100755 index 000000000..fb085d8e1 --- /dev/null +++ b/scripts/dep_hunter.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# +# This script compiles all selected packages individually and +# makes clean after each package. +# +# This can be used to search for broken or missing dependencies +# and to compile all selected packages without stopping the whole +# process on broken packages +# +# Just call this script from a workspace dir (at least till it +# is integrated into ptxdist) +# + + +packages=$(ptxdist print PACKAGES | grep "PACKAGES is" | sed "s/PACKAGES is \"\(.*\)\"$/\1/") + +for i in $packages; do + echo $i > logfile; + ptxdist clean + ptxdist install $i + mv logfile logfile-$i +done -- cgit v1.2.3