Skip to content
Snippets Groups Projects
Commit 26dfda0c authored by Leah Rowe's avatar Leah Rowe
Browse files

blobutil/inject: print script path on error

parent 6289eeb5
Branches
No related merge requests found
......@@ -5,6 +5,7 @@
# SPDX-FileCopyrightText: 2023 Leah Rowe <info@minifree.org>
# SPDX-License-Identifier: GPL-3.0-only
sname=""
archive=""
_filetype=""
rom=""
......@@ -36,6 +37,8 @@ CONFIG_GBE_BIN_PATH=""
main()
{
sname="${0}"
if [ $# -lt 1 ]; then
fail "No options specified."
elif [ "${1}" = "listboards" ]; then
......@@ -373,7 +376,7 @@ listboards()
fail()
{
if [ ! -z ${@+x} ]; then
printf "\nERROR: ${@}\n"
printf "\n%s: ERROR: ${@}\n" ${sname}
fi
usage
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment