It's completely pointless to replace newlines with space
(this is done automatically for you upon shell expansion)
This commit is contained in:
parent
be094a3204
commit
f3a8471e5f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309998
@ -219,7 +219,6 @@ while :; do
|
||||
|
||||
f_dialog_title "Network Selection"
|
||||
prompt="Select a wireless network to connect to."
|
||||
menu_list=$( echo $NETWORKS | tr '\n' ' ' )
|
||||
f_dialog_menu_size height width rows "$DIALOG_TITLE" \
|
||||
"$DIALOG_BACKTITLE" "$prompt" "" $menu_list
|
||||
NETWORK=$( eval $DIALOG \
|
||||
@ -229,7 +228,7 @@ while :; do
|
||||
--extra-label \"Rescan\" \
|
||||
--menu \"\$prompt\" \
|
||||
$height $width $rows \
|
||||
$menu_list \
|
||||
$NETWORKS \
|
||||
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
|
||||
)
|
||||
retval=$?
|
||||
|
Loading…
Reference in New Issue
Block a user