POSIX (xargs -r no es)

This commit is contained in:
void 2021-05-25 13:48:32 +00:00
parent c4bb74ff3a
commit 4b2df37eb8

View file

@ -2,7 +2,7 @@
# Fallar ante cualquier error
set -e
DIR="$(realpath "$0" | xargs -r dirname)"
DIR="$(dirname "$(realpath "$0")")"
# Por ahora sólo soportamos x86_64
uname -m | grep -q x86_64 || exit 1