diff --git a/haini.sh b/haini.sh index f5ee36c..9232185 100755 --- a/haini.sh +++ b/haini.sh @@ -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