[DRE-commits] r2209 - tools

lucas at alioth.debian.org lucas at alioth.debian.org
Sat Dec 8 15:26:31 UTC 2007


Author: lucas
Date: 2007-12-08 15:26:31 +0000 (Sat, 08 Dec 2007)
New Revision: 2209

Added:
   tools/check-last-changelog.bash
Log:
add script to check last changelog entry

Added: tools/check-last-changelog.bash
===================================================================
--- tools/check-last-changelog.bash	                        (rev 0)
+++ tools/check-last-changelog.bash	2007-12-08 15:26:31 UTC (rev 2209)
@@ -0,0 +1,10 @@
+#!/bin/bash
+# Check that the distribution for the last changelog entry is "UNRELEASED"
+
+for i in $(find . |grep '/trunk/debian/changelog$'); do
+	d=$(dpkg-parsechangelog -l$i |grep '^Distribution:'|cut -d ' ' -f2)
+	if [ $d != 'UNRELEASED' ]; then
+		echo "Wrong Distribution: $d in $i"
+	fi
+done
+


Property changes on: tools/check-last-changelog.bash
___________________________________________________________________
Name: svn:executable
   + *




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