No Description

ruby_missingfiles 624B

1234567891011121314151617181920
  1. #!/bin/bash
  2. #
  3. function list_staging_files {
  4. cd staging_dir/target-*/; find \
  5. \( \( -name "root-x86" -or -name "packages" -or -name "stamp" -or -name "pkginfo" \) -prune \) -or -true \
  6. \( -path "*ruby*" -or -name "erb" -or -name "gem" -or -name "irb" -or -name "rake" -or -name "rdoc" -or -name "ri" -or -name "testrb" \) \
  7. -print | sort
  8. }
  9. function list_ipkg_files {
  10. for OPKG in bin/*/packages/packages/*ruby*; do
  11. tar --to-stdout -xzf "$OPKG" ./data.tar.gz | tar tz | sed -e 's%/$%%'
  12. done | sort -u
  13. }
  14. echo " Staging Packages"
  15. diff -y <(list_staging_files) <(list_ipkg_files)