]>
Commit | Line | Data |
---|---|---|
3a862a5e AM |
1 | # Make rcs2log use POSIX 1003.1-2001 compliant `sort'. Closes: #368909 |
2 | # Patch taken from http://cvs.pld.org.pl/SOURCES/cvs-POSIX.patch?rev=1.1 , | |
3 | # Thanks to the PLD Team. | |
4 | diff -Nru ../build-tree.old/cvs-1.12.13/contrib/rcs2log.sh ./cvs-1.12.13/contrib/rcs2log.sh | |
5 | --- ../build-tree.old/cvs-1.12.13/contrib/rcs2log.sh 2006-05-26 15:16:54.000000000 +0800 | |
6 | +++ ./cvs-1.12.13/contrib/rcs2log.sh 2006-05-26 15:16:35.000000000 +0800 | |
7 | @@ -649,7 +649,7 @@ | |
8 | # Sort the log entries, first by date+time (in reverse order), | |
9 | # then by author, then by log entry, and finally by file name and revision | |
10 | # (just in case). | |
11 | -sort -t"$SOH" +2 -4r +4 +0 | | |
12 | +sort -t"$SOH" -k 3,4r -k 5 -k 1 | | |
13 | ||
14 | # Finally, reformat the sorted log entries. | |
15 | $AWK -F"$SOH" ' |