summaryrefslogtreecommitdiff
path: root/script/vendor/inject
diff options
context:
space:
mode:
Diffstat (limited to 'script/vendor/inject')
-rwxr-xr-xscript/vendor/inject6
1 files changed, 4 insertions, 2 deletions
diff --git a/script/vendor/inject b/script/vendor/inject
index 93017cec..088851ca 100755
--- a/script/vendor/inject
+++ b/script/vendor/inject
@@ -14,8 +14,10 @@ eval "$(setvars "" archive rom modifygbe nukemode release new_mac)"
main()
{
[ $# -lt 1 ] && err "No options specified."
- [ "${1}" = "listboards" ] && \
- items config/coreboot && exit 0
+ if [ "${1}" = "listboards" ]; then
+ items config/coreboot || :
+ exit 0
+ fi
archive="${1}"