armbian-next: make sure we've coreutils
This commit is contained in:
parent
7107368060
commit
b3c008b0e0
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user