Module Name:    src
Committed By:   eadler
Date:           Wed Mar  7 08:24:16 UTC 2018

Modified Files:
        src/games/wtf: wtf

Log Message:
wtf(6): quote "$f"

ok pgoyette@ silence dholland@


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/games/wtf/wtf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/games/wtf/wtf
diff -u src/games/wtf/wtf:1.22 src/games/wtf/wtf:1.23
--- src/games/wtf/wtf:1.22	Wed Jan 17 03:03:59 2018
+++ src/games/wtf/wtf	Wed Mar  7 08:24:16 2018
@@ -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 @@ fi
 
 
 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

Reply via email to