kumquat-buildroot/support/dependencies/check-host-coreutils.sh
Yann E. MORIN a95ea4b64d core/dependencies: check if we need to build our own host-coreutils
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-01-06 21:43:38 +01:00

13 lines
192 B
Bash
Executable File

#!/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