Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 02:15:37 +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: r309981 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201612130215.uBD2Fbx7058790@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Tue Dec 13 02:15:36 2016
New Revision: 309981
URL: https://svnweb.freebsd.org/changeset/base/309981

Log:
  Add missing quotes

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Dec 13 02:14:40 2016	(r309980)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Dec 13 02:15:36 2016	(r309981)
@@ -280,7 +280,7 @@ done
 [ "$ENCRYPTION" ] || ENCRYPTION=$( echo "$NETWORKS" |
 	awk -F '\t' "/^\"$NETWORK\"\t/ { print \$2 }" )
 
-if echo $ENCRYPTION | grep -q 'PSK'; then
+if echo "$ENCRYPTION" | grep -q 'PSK'; then
 	PASS=$( $DIALOG \
 		--title "WPA Setup"              \
 		--backtitle "$DIALOG_BACKTITLE"  \
@@ -300,7 +300,7 @@ if echo $ENCRYPTION | grep -q 'PSK'; the
 		priority=5
 	}
 	EOF
-elif echo $ENCRYPTION | grep -q EAP; then
+elif echo "$ENCRYPTION" | grep -q EAP; then
 	USERPASS=$( $DIALOG \
 		--title "WPA-Enterprise Setup"   \
 		--backtitle "$DIALOG_BACKTITLE"  \
@@ -325,7 +325,7 @@ elif echo $ENCRYPTION | grep -q EAP; the
 		priority=5
 	}
 	EOF
-elif echo $ENCRYPTION | grep -q WEP; then
+elif echo "$ENCRYPTION" | grep -q WEP; then
 	WEPKEY=$( $DIALOG \
 		--title "WEP Setup"              \
 		--backtitle "$DIALOG_BACKTITLE"  \



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