summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-29 22:35:27 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-08-29 22:35:27 (EDT)
commit116f491fdfe087264d65110cc59c47eb23d3063a (patch)
treedf47b5b2b269f05a71db51ae11473d924ce90650
parent3b2c1818aed5fa119374f36c62cc74dc04c6dc7d (diff)
downloadlibreboot-116f491fdfe087264d65110cc59c47eb23d3063a.zip
libreboot-116f491fdfe087264d65110cc59c47eb23d3063a.tar.gz
libreboot-116f491fdfe087264d65110cc59c47eb23d3063a.tar.bz2
build script: avoid conflicting with existing variable ($option)
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 829763e..0ddb8fe 100755
--- 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