check-host-coreutils.sh 192 B

123456789101112
  1. #!/bin/sh
  2. # Exit on the first error
  3. set -e
  4. # Does ln supports the --relative/-r option?
  5. ln --relative --help >/dev/null 2>&1
  6. # Does realpath exist?
  7. realpath --help >/dev/null 2>&1
  8. echo OK