From 93a4700b6a0cd1180a74eb888fbdfbca973f4f8a Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 16 Feb 2007 04:48:49 +0000 Subject: better X"" idiom in while loop; didickman@yahoo.com --- distrib/miniroot/dot.profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'distrib/miniroot') diff --git a/distrib/miniroot/dot.profile b/distrib/miniroot/dot.profile index cca0b02f93a..396b68e3699 100644 --- a/distrib/miniroot/dot.profile +++ b/distrib/miniroot/dot.profile @@ -1,4 +1,4 @@ -# $OpenBSD: dot.profile,v 1.5 2006/03/04 20:11:12 krw Exp $ +# $OpenBSD: dot.profile,v 1.6 2007/02/16 04:48:48 deraadt Exp $ # $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $ # # Copyright (c) 1995 Jason R. Thorpe @@ -55,7 +55,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then # Installing or upgrading? _forceloop="" - while [ "X$_forceloop" = X"" ]; do + while [ "X$_forceloop" = "X" ]; do echo -n '(I)nstall' [ -f upgrade ] && echo -n ', (U)pgrade' echo -n ' or (S)hell? ' -- cgit v1.2.3