diff options
-rwxr-xr-x | scripts/dep_hunter.sh | 22 |
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 |