[Nagiosplug-checkins] CVS: nagiosplug Makefile.am,1.19,1.20

Ton Voon tonvoon at users.sourceforge.net
Mon Sep 1 13:08:04 CEST 2003


Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1:/tmp/cvs-serv22193

Modified Files:
	Makefile.am 
Log Message:
Report duplicates in AUTHORS file


Index: Makefile.am
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/Makefile.am,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** Makefile.am	31 Aug 2003 05:24:17 -0000	1.19
--- Makefile.am	1 Sep 2003 20:07:17 -0000	1.20
***************
*** 36,40 ****
  
  THANKS: THANKS.in AUTHORS
! 	perl -e ' @a=<>; print sort by_last_field @a; sub by_last_field { ($$a1) = $$a =~ /\s(\w+)$$/; ($$b1) = $$b =~ /\s(\w+)$$/; $$a1 cmp $$b1}' AUTHORS | cat THANKS.in - > $@
  
  pkgclean:
--- 36,40 ----
  
  THANKS: THANKS.in AUTHORS
! 	perl -e ' while (<>) { print STDERR "Duplicate: $$_",$$/ if ($$a{$$_}) ; $$a{$$_}++}; print sort by_last_field (keys %a); sub by_last_field { ($$a1) = $$a =~ /\s(\w+)$$/; ($$b1) = $$b =~ /\s(\w+)$$/; $$a1 cmp $$b1}' AUTHORS | cat THANKS.in - > $@
  
  pkgclean:





More information about the Commits mailing list