runtc 444 B

1234567891011121314151617181920
  1. #!/usr/bin/env bash
  2. . "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common"
  3. while getopts "h${common_getopts_flags}" OPT; do
  4. case "$OPT" in
  5. h)
  6. echo "https://github.com/cirosantilli/linux-kernel-module-cheat#runtc" 2>&1
  7. exit
  8. ;;
  9. ?)
  10. common_getopts_case "$OPT"
  11. ;;
  12. esac
  13. done
  14. shift "$(($OPTIND - 1))"
  15. tool="$1"
  16. shift
  17. common_setup
  18. "${common_buildroot_out_dir}/host/bin/"*-buildroot-*"${tool}" "$@"
  19. exit "$?"