summaryrefslogtreecommitdiff
path: root/editors/elvis/patches/patch-aa
blob: 8f53e4af3d5adce77ef70d75c0cfbd106e6214cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-aa,v 1.1.1.1 2004/01/20 21:16:07 recht Exp $

--- instman.sh.orig	2003-10-21 04:32:25.000000000 +0200
+++ instman.sh	2003-12-09 20:42:20.000000000 +0100
@@ -207,18 +207,18 @@
 		  install)
 			if [ -x /usr/bin/nroff ]
 			then
-				/usr/bin/nroff -man doc/$i.man >$catdir/$i$ext
+				/usr/bin/nroff -man doc/$i.man >$catdir/$i.0
 			elif [ -x ./elvis ]
 			then
 				ELVISPATH=dummypath; export ELVISPATH
-				./elvis -Gquit -c"se bd=man lpt=bs lplines=0|lp! $catdir/$i$ext" doc/$i.man
+				./elvis -Gquit -c"se bd=man lpt=bs lplines=0|lp! $catdir/$i.0" doc/$i.man
 			else
 				# give nroff another chance
-				nroff -man doc/$i.man >$catdir/$i$ext
+				nroff -man doc/$i.man >$catdir/$i.0
 			fi
 			;;
 		  remove)
-			rm $catdir/$i$ext*
+			rm $catdir/$i.0
 			;;
 		esac
 	done