blob: 11e6ca9525fb9790dadd7e80360428bfb8c1f3fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$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
|