POSIX (xargs -r no es)
This commit is contained in:
parent
c4bb74ff3a
commit
4b2df37eb8
1 changed files with 1 additions and 1 deletions
2
haini.sh
2
haini.sh
|
@ -2,7 +2,7 @@
|
||||||
# Fallar ante cualquier error
|
# Fallar ante cualquier error
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
DIR="$(realpath "$0" | xargs -r dirname)"
|
DIR="$(dirname "$(realpath "$0")")"
|
||||||
|
|
||||||
# Por ahora sólo soportamos x86_64
|
# Por ahora sólo soportamos x86_64
|
||||||
uname -m | grep -q x86_64 || exit 1
|
uname -m | grep -q x86_64 || exit 1
|
||||||
|
|
Loading…
Reference in a new issue