026ad89d1e
while there, don't use groff, mandoc(7) is perfectly happy with the mdoc source.
13 lines
351 B
Plaintext
13 lines
351 B
Plaintext
$OpenBSD: patch-wtf,v 1.1 2011/09/20 11:08:52 sthen Exp $
|
|
--- wtf.orig Tue Sep 20 12:04:02 2011
|
|
+++ wtf Tue Sep 20 12:04:29 2011
|
|
@@ -65,7 +65,7 @@ while [ $# -gt 0 ] ; do
|
|
|
|
# Try pkg_info(1) next
|
|
ans=`pkg_info -qc $1 2> /dev/null`
|
|
- if [ $? -eq 0 ] ; then
|
|
+ if [ $? -eq 0 ] && [ x"${ans}" != x ] ; then
|
|
echo "$1: $ans"
|
|
shift ; continue
|
|
fi
|