kumquat-buildroot/support/dependencies/check-host-coreutils.sh

13 lines
192 B
Bash
Raw Normal View History

#!/bin/sh
# Exit on the first error
set -e
# Does ln supports the --relative/-r option?
ln --relative --help >/dev/null 2>&1
# Does realpath exist?
realpath --help >/dev/null 2>&1
echo OK