summaryrefslogtreecommitdiffstats
path: root/scripts/dep_hunter.sh
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2006-03-03 16:32:49 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2006-03-03 16:32:49 +0000
commit4e1ffc9fdbf012a9611254a93c1d8680f5d3fa9c (patch)
tree6fb939b32e7598f6ae1e5fac15963e50b7af01ff /scripts/dep_hunter.sh
parent17485f9321feab019fca4e51294084a6cab5a8fe (diff)
downloadptxdist-4e1ffc9fdbf012a9611254a93c1d8680f5d3fa9c.tar.gz
ptxdist-4e1ffc9fdbf012a9611254a93c1d8680f5d3fa9c.tar.xz
check it out
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@4991 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'scripts/dep_hunter.sh')
-rwxr-xr-xscripts/dep_hunter.sh22
1 files changed, 22 insertions, 0 deletions
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