Browse Source

alanw:


			
			
				rocklinux
			
			
		
Alan J. Wylie 20 years ago
parent
commit
983b74d88a
2 changed files with 14 additions and 2 deletions
  1. +2
    -2
      package/avm/sloccount/sloccount.desc
  2. +12
    -0
      package/avm/sloccount/tail.patch

+ 2
- 2
package/avm/sloccount/sloccount.desc

@ -39,8 +39,8 @@
[L] GPL
[S] Stable
[V] 2.23
[V] 2.26
[P] X -?---5---9 194.800
[D] 1188885665 sloccount-2.23.tar.gz http://www.dwheeler.com/sloccount/
[D] 475373249 sloccount-2.26.tar.gz http://www.dwheeler.com/sloccount/

+ 12
- 0
package/avm/sloccount/tail.patch

@ -0,0 +1,12 @@
diff -Naur sloccount-2.26.orig/compute_sloc_lang sloccount-2.26/compute_sloc_lang
--- sloccount-2.26.orig/compute_sloc_lang 2004-08-01 04:02:54.000000000 +0100
+++ sloccount-2.26/compute_sloc_lang 2005-04-13 15:55:22.000000000 +0100
@@ -53,7 +53,7 @@
*) ${language}_count -f ${language}_list.dat > ${language}_outfile.dat
;;
esac
- tail -1 < ${language}_outfile.dat
+ tail -n 1 < ${language}_outfile.dat
else
rm -f ${language}_outfile.dat

Loading…
Cancel
Save