| echo "$B does not exist; build the software first." >&2 |
| for stamp in $(cd $B && echo */.stamp_* */.configured); do |
| [ -L "$B/$dir" ] && continue |
| pkg=${pkg%%-[svRr][0-9]*} |
| startswith "$pkg" host- && continue |
| # Include all .jar files from SageTV |
| for jar in $(cd $B/google_sageserver-HEAD/build/bruno && find -name '*.jar'); do |
| echo "google_sageserver/$(basename "$jar")" |
| all_packages | while read pkg; do |
| if [ "$pkg" != "${pkg#*/}" ]; then |
| # contains a slash, it's a particular filename |
| [ -e "licenses/$pkg" ] && found=1 |
| # it's probably just a package name, so match any file in that package. |
| for d in licenses/$pkg/*; do |
| [ -e "$d" ] && found=1 && break |
| [ -n "$found" ] || echo "$pkg" |