libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 116f491fdfe087264d65110cc59c47eb23d3063a
parent 3b2c1818aed5fa119374f36c62cc74dc04c6dc7d
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Sun, 30 Aug 2015 03:35:27 +0100

build script: avoid conflicting with existing variable ($option)

Diffstat:
build | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build b/build @@ -48,7 +48,7 @@ option="${2}" shift 2 if [ -d "${build}/${mode}" ]; then - availableoptions="$(for option in ${build}/${mode}/*; do printf "%s\n" "${option##*/}"; done)" + availableoptions="$(for buildoption in ${build}/${mode}/*; do printf "%s\n" "${buildoption##*/}"; done)" if [ "${option}" = "list" ]; then printf "Available options for '%s' are:\nall\n%s\n\n" "${mode}" "${availableoptions}" elif [ -f "${build}/${mode}/${option}" ]; then