Source-Changes-HG archive

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

[src/trunk]: src/games/wtf remove sh warning when invoked with no args



details:   https://anonhg.NetBSD.org/src/rev/10ddd934300c
branches:  trunk
changeset: 474833:10ddd934300c
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Jul 22 10:08:17 1999 +0000

description:
remove sh warning when invoked with no args

diffstat:

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

diffs (19 lines):

diff -r 2ccb9ddca73e -r 10ddd934300c games/wtf/wtf
--- a/games/wtf/wtf     Thu Jul 22 10:07:12 1999 +0000
+++ b/games/wtf/wtf     Thu Jul 22 10:08:17 1999 +0000
@@ -1,13 +1,13 @@
 #!/bin/sh
 #
-#      $NetBSD: wtf,v 1.1 1999/07/22 01:03:20 mrg Exp $
+#      $NetBSD: wtf,v 1.2 1999/07/22 10:08:17 lukem Exp $
 #
 # Public domain
 #
 
 acronyms=${ACRONYMDB:-/usr/share/misc/acronyms}
 
-if [ $1 = "is" ] ; then
+if [ X"$1" = X"is" ] ; then
        shift
 fi
 



Home | Main Index | Thread Index | Old Index