summaryrefslogtreecommitdiff
path: root/include/option.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-19 23:36:56 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-19 23:36:56 +0100
commit0b98c9b00c6b99940555cff25f7c6858745a560c (patch)
treee79ed28e199df51146d6d850c224ee6b2e518638 /include/option.sh
parent8b6e44a104680412967acd6ac760945f8233abf2 (diff)
minor code cleanup in shell scripts
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/option.sh')
-rwxr-xr-xinclude/option.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/option.sh b/include/option.sh
index 991ec0dc..73a567bb 100755
--- a/include/option.sh
+++ b/include/option.sh
@@ -17,11 +17,11 @@ eval "$(setvars "" CONFIG_BOARD_DELL_E6400 CONFIG_HAVE_MRC CONFIG_HAVE_ME_BIN \
CONFIG_INCLUDE_SMSC_SCH5545_EC_FW CONFIG_SMSC_SCH5545_EC_FW_FILE \
CONFIG_IFD_BIN_PATH CONFIG_MRC_FILE _dest board boarddir)"
-listitems()
+items()
{
rval=1
[ ! -d "${1}" ] && \
- printf "listitems: directory '%s' doesn't exist" "${1}" && \
+ printf "items: directory '%s' doesn't exist" "${1}" && \
return 1
for x in "${1}/"*; do
# -e used because this is for files *or* directories