POSIXificación

This commit is contained in:
void 2021-05-16 16:20:29 +00:00
parent 0eeb6e0045
commit 04b8577a76

View file

@ -1,9 +1,8 @@
#!/bin/sh
# Fallar ante cualquier error
set -e
set -E
DIR="`realpath $0 | xargs -r dirname`"
DIR="$(realpath "$0" | xargs -r dirname)"
# Por ahora sólo soportamos x86_64
uname -m | grep -q x86_64 || exit 1