Merge commit 'refs/pull/42/head' of github.com:archlinux/arch-install-scripts
* github.com:archlinux/arch-install-scripts: common: avoid variable name conflict with genfstab
This commit is contained in:
commit
2d1d4904b9
6
common
6
common
@ -314,10 +314,10 @@ optstring_prepend_option() {
|
||||
}
|
||||
|
||||
optstring_get_option() {
|
||||
local opts o
|
||||
local _opts o
|
||||
|
||||
IFS=, read -ra opts <<<"${!1}"
|
||||
for o in "${opts[@]}"; do
|
||||
IFS=, read -ra _opts <<<"${!1}"
|
||||
for o in "${_opts[@]}"; do
|
||||
if optstring_match_option "$2" "$o"; then
|
||||
declare -g "$o"
|
||||
return 0
|
||||
|
Loading…
Reference in New Issue
Block a user