mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-19 17:14:41 +00:00

Termux doesn't have a /bin/sh. So we needto use $SHELL. Keep /bin/sh as much as possible.
20 lines
256 B
Plaintext
20 lines
256 B
Plaintext
#!@BUILD_SHEBANG@
|
|
|
|
set -e
|
|
|
|
if [ "x$EUID" = "x" ] ; then
|
|
EUID=`id -u`
|
|
fi
|
|
|
|
if [ "$EUID" != 0 ] ; then
|
|
exit 77
|
|
fi
|
|
|
|
if ! which mkudffs >/dev/null 2>&1; then
|
|
echo "mkudffs not installed; cannot test UDF."
|
|
exit 77
|
|
fi
|
|
|
|
"@builddir@/grub-fs-tester" udf
|
|
|