Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/wtf wtf(6): quote "$f"



details:   https://anonhg.NetBSD.org/src/rev/1e023e4443fe
branches:  trunk
changeset: 321227:1e023e4443fe
user:      eadler <eadler%NetBSD.org@localhost>
date:      Wed Mar 07 08:24:16 2018 +0000

description:
wtf(6): quote "$f"

ok pgoyette@ silence dholland@

diffstat:

 games/wtf/wtf |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 6e6fd4db9cc0 -r 1e023e4443fe games/wtf/wtf
--- a/games/wtf/wtf     Wed Mar 07 08:01:32 2018 +0000
+++ b/games/wtf/wtf     Wed Mar 07 08:24:16 2018 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#      $NetBSD: wtf,v 1.22 2018/01/17 03:03:59 pgoyette Exp $
+#      $NetBSD: wtf,v 1.23 2018/03/07 08:24:16 eadler Exp $
 #
 # Public domain
 #
@@ -65,7 +65,7 @@
 
 
 for f in $acronyms; do
-       if [ ! -f $f ]; then
+       if [ ! -f "$f" ]; then
                echo "$PROGNAME: cannot open acronym database file \`$f'" >&2
                exit 1
        fi



Home | Main Index | Thread Index | Old Index