[DRE-commits] r2270 - tools

lucas at alioth.debian.org lucas at alioth.debian.org
Thu Dec 13 20:05:42 UTC 2007


Author: lucas
Date: 2007-12-13 20:05:42 +0000 (Thu, 13 Dec 2007)
New Revision: 2270

Modified:
   tools/check-changelog.bash
Log:
bugfix: unify list of versions

Modified: tools/check-changelog.bash
===================================================================
--- tools/check-changelog.bash	2007-12-13 20:03:26 UTC (rev 2269)
+++ tools/check-changelog.bash	2007-12-13 20:05:42 UTC (rev 2270)
@@ -15,7 +15,7 @@
 	if [ "$dist" != "UNRELEASED" ];then
 		echo "W: $i : wrong distribution $dist"
 	fi
-	for dver in $(apt-cache showsrc $i | grep "^Version:" | cut -d ' ' -f 2 ); do
+	for dver in $(apt-cache showsrc $i | grep "^Version:" | cut -d ' ' -f 2 | sort |uniq); do
 		if dpkg --compare-versions $ver le $dver; then
 			echo "E: $i : $dver in Debian, $ver in repository."
 		fi




More information about the Pkg-ruby-extras-commits mailing list