lib.sh: use eval for the command in x_

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-04-13 02:31:25 +01:00
parent 4fa3bb9e5b
commit 3bfdecdc75
+1 -1
View File
@@ -27,7 +27,7 @@ err_()
exit 1
}
x_() {
[ $# -lt 1 ] || "$@" || $err "Unhandled error for: $(echo "$@")"; :
[ $# -lt 1 ] || eval "$@" || $err "Unhandled error on: $(echo "$@")"; :
}
xbmkpwd="`pwd`" || $err "Cannot generate PWD"