svn commit: r309998 - head/usr.sbin/bsdinstall/scripts
Devin Teske
dteske at FreeBSD.org
Tue Dec 13 02:56:54 UTC 2016
Author: dteske
Date: Tue Dec 13 02:56:52 2016
New Revision: 309998
URL: https://svnweb.freebsd.org/changeset/base/309998
Log:
It's completely pointless to replace newlines with space
(this is done automatically for you upon shell expansion)
Modified:
head/usr.sbin/bsdinstall/scripts/wlanconfig
Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Dec 13 02:54:44 2016 (r309997)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Dec 13 02:56:52 2016 (r309998)
@@ -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=$?
More information about the svn-src-all
mailing list