summaryrefslogtreecommitdiff
path: root/news/trn/patches/patch-ad
blob: 401ac8b8e7efe68ca45bc3bd1166e624b34dc005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ad,v 1.2 2013/02/09 18:30:14 christos Exp $

--- Pnews.SH.orig	2000-10-31 22:43:16.000000000 +0000
+++ Pnews.SH
@@ -911,7 +911,12 @@ usg)
 esac
 
 case $orgname in
-/*) orgname=`$cat $orgname` ;;
+/*) if $test -r $orgname; then
+	orgname=`$cat $orgname`
+    else
+	orgname=""
+    fi
+    ;;
 esac
 
 $sed -e '/^Reply-To: $/d' > $tmpart <<EOHeader