14 lines
303 B
Text
14 lines
303 B
Text
$NetBSD: patch-ac,v 1.3 2006/11/12 02:28:45 rillig Exp $
|
|
|
|
--- tests/new_test.orig 2004-08-25 19:23:07.000000000 +0200
|
|
+++ tests/new_test 2006-11-12 02:25:41.000000000 +0100
|
|
@@ -1,7 +1,7 @@
|
|
#!/bin/sh
|
|
|
|
-if [ "$1" == "" ]; then
|
|
- echo 'Name?'
|
|
+if [ $# -eq 0 ]; then
|
|
+ echo 'Name?' 1>&2
|
|
exit 1
|
|
fi
|
|
|