pkgsrc/devel/scmcvs/patches/patch-ba
schmonz c02b407e92 Move cvs to scmcvs so it can be checked out on a case-insensitive
filesystem without interference from devel/CVS metadata. PKGNAME
stays the same. Discussed with agc.
2007-05-27 09:49:41 +00:00

21 lines
595 B
Text

$NetBSD: patch-ba,v 1.1 2007/05/27 09:49:54 schmonz Exp $
--- src/cvsbug.in.orig 2005-08-26 22:30:56.000000000 +0100
+++ src/cvsbug.in
@@ -109,14 +109,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