armbian-next: make sure we've coreutils

This commit is contained in:
Ricardo Pardini 2022-10-19 17:05:40 +02:00
parent 7107368060
commit b3c008b0e0
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02

View File

@ -16,6 +16,11 @@ if [[ "${BASH_VERSINFO:-0}" -lt 5 ]]; then
exit 50
fi
if [[ -z "$(command -v realpath)" ]]; then
echo "Armbian build scripts require coreutils. Go install it." >&2
exit 51
fi
# Users should not start here, but instead use ./compile.sh at the root.
if [[ $(basename "$0") == single.sh ]]; then
echo "Please use compile.sh to start the build process"