dc2ba353b6
Latest upstream/feature release, similar to Debian, see the ChangeLog excerpts available at http://cto.homelinux.net/usr/ports/devel/cvs-devel/ChangeLog page. This feature release/version, I think, would be quite useful for all those users who want to share and, or transfer their existing CVS repositories from Linux to FreeBSD machines. PR: ports/118033 Submitted by: Balwinder S Dheeman <bdheeman@gmail.com>
22 lines
696 B
Text
22 lines
696 B
Text
# Patch for a tmp race in cvsbug (in the source package; we don't ship
|
|
# the script as part of the package). Closes: #325106
|
|
diff -Nur src/cvsbug.in src/cvsbug.in
|
|
--- src/cvsbug.in 2003-02-26 05:31:33.000000000 +0800
|
|
+++ src/cvsbug.in 2006-02-26 22:07:08.000000000 +0800
|
|
@@ -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
|