cpio 331 B

123456789101112131415161718
  1. #!/usr/bin/env bash
  2. # This file is part of the OpenADK project. OpenADK is copyrighted
  3. # material, please see the LICENCE file in the top-level directory.
  4. os=$(uname)
  5. case $os in
  6. NetBSD|MirBSD)
  7. quiet=""
  8. ;;
  9. *)
  10. quiet="--quiet"
  11. ;;
  12. esac
  13. if [ -x /usr/bin/cpio ];then
  14. /usr/bin/cpio $quiet "$@"
  15. else
  16. /bin/cpio $quiet "$@"
  17. fi