uname 271 B

123456789101112
  1. #!/bin/sh
  2. [ $# -eq 1 -a x"$1" = x"-m" ] && {
  3. [ x"$debian_chroot_arch" != x ] && exec echo "$debian_chroot_arch"
  4. }
  5. [ "$(which -a uname | wc -l)" -le 1 ] && {
  6. echo "Did not find real uname" >&2
  7. exit 1
  8. }
  9. real_uname="$(which -a uname | tail -n1)"
  10. exec "$real_uname" "$@"