cvs/cvs-1.12.12-can_2005_2693.patch

20 lines
562 B
Diff
Raw Normal View History

--- cvs-1.12.12/src/cvsbug.in.orig 2005-09-08 15:51:56.000000000 +0200
+++ cvs-1.12.12/src/cvsbug.in 2005-09-08 15:53:11.000000000 +0200
@@ -109,14 +109,14 @@
/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