]> git.pld-linux.org Git - packages/cvs.git/blob - cvs-debian-cvsbug.patch
- update to apply correctly
[packages/cvs.git] / cvs-debian-cvsbug.patch
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
6 @@ -109,14 +109,14 @@
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`"
10 -    rm -f $TEMP
11 +    > $TEMP
12    fi
13  fi
14  
15  if [ "$ORIGINATOR" = "" ]; then
16    grep "^$LOGNAME:" /etc/passwd | cut -f5 -d':' | sed -e 's/,.*//' > $TEMP
17    ORIGINATOR="`cat $TEMP`"
18 -  rm -f $TEMP
19 +  > $TEMP
20  fi
21  
22  if [ -n "$ORGANIZATION" ]; then
This page took 0.033209 seconds and 3 git commands to generate.