Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 02:56:53 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309998 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201612130256.uBD2ur59075449@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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=$?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612130256.uBD2ur59075449>