summaryrefslogtreecommitdiff
path: root/devel/gcvs/patches/patch-aq
blob: 2eee1122880dcbbb3d1048ff2868b112cc070224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aq,v 1.1 2005/09/11 13:59:38 adrianp Exp $

--- cvsunix/src/cvsbug.sh.orig	2005-09-11 14:19:45.000000000 +0100
+++ cvsunix/src/cvsbug.sh
@@ -108,14 +108,14 @@ elif [ -f /bin/domainname ]; then
     /usr/bin/ypcat passwd 2>/dev/null | cat - /etc/passwd | grep "^$LOGNAME:" |
       cut -f5 -d':' | sed -e 's/,.*//' > $TEMP
     ORIGINATOR="`cat $TEMP`"
-    rm -f $TEMP
+    > $TEMP
   fi
 fi
 
 if [ "$ORIGINATOR" = "" ]; then
   grep "^$LOGNAME:" /etc/passwd | cut -f5 -d':' | sed -e 's/,.*//' > $TEMP
   ORIGINATOR="`cat $TEMP`"
-  rm -f $TEMP
+  > $TEMP
 fi
 
 if [ -n "$ORGANIZATION" ]; then