1 # Patch for a tmp race in cvsbug (in the source package; we don't ship
2 # the script as part of the package). Closes: #325106
3 diff -ruN cvs-1.12.13-old/src/cvsbug.in cvs-1.12.13/src/cvsbug.in
4 --- cvs-1.12.13-old/src/cvsbug.in 2003-02-26 05:31:33.000000000 +0800
5 +++ cvs-1.12.13/src/cvsbug.in 2006-02-26 22:07:08.000000000 +0800
7 /usr/bin/ypcat passwd 2>/dev/null | cat - /etc/passwd | grep "^$LOGNAME:" |
8 cut -f5 -d':' | sed -e 's/,.*//' > $TEMP
9 ORIGINATOR="`cat $TEMP`"
15 if [ "$ORIGINATOR" = "" ]; then
16 grep "^$LOGNAME:" /etc/passwd | cut -f5 -d':' | sed -e 's/,.*//' > $TEMP
17 ORIGINATOR="`cat $TEMP`"
22 if [ -n "$ORGANIZATION" ]; then