diff options
author | Leah Rowe <leah@libreboot.org> | 2025-04-13 02:31:25 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-04-13 02:31:25 +0100 |
commit | 3bfdecdc75bbc77f795736ac282f858f2eb7ab94 (patch) | |
tree | bff0a66bbb07c67fbc37d22ae7a322157191e31a | |
parent | 4fa3bb9e5b18c7812d56b3713a4e0213879a0dc6 (diff) |
lib.sh: use eval for the command in x_
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r-- | include/lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lib.sh b/include/lib.sh index 44b6a138..cb42c3d4 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -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" |