[Pkg-jed-commit] r210 - trunk/packages/jed-extra/utils

Rafael Laboissiere rafael at costa.debian.org
Mon Nov 21 11:34:27 UTC 2005


Author: rafael
Date: 2005-11-21 11:34:27 +0000 (Mon, 21 Nov 2005)
New Revision: 210

Modified:
   trunk/packages/jed-extra/utils/build-from-scratch.sh
Log:
Made the build-from-scrtatch script work without hjuman intervention (i.e.
the debian/changleog trailer line is changed automatically).



Modified: trunk/packages/jed-extra/utils/build-from-scratch.sh
===================================================================
--- trunk/packages/jed-extra/utils/build-from-scratch.sh	2005-11-21 11:17:20 UTC (rev 209)
+++ trunk/packages/jed-extra/utils/build-from-scratch.sh	2005-11-21 11:34:27 UTC (rev 210)
@@ -36,8 +36,12 @@
 
 cd jedmodes-$VER
 
-# let the builder fix changelog
-echo "Please fix the trailer line in changelog"
-jed debian/changelog
+# Fix the trailer line in changelog automatically
+perl -ni -e 'if (not $done and /^ --/) {'\
+'              print (" -- Debian JED Group "'\
+'                     . "<pkg-jed-devel\@lists.alioth.debian.org>  ",'\
+'                     qx/date +"%a, %2e %b %Y %T %z"/, "\n");'\
+'              $done = 1;'\
+'            } else {print}' debian/changelog
 
 debuild -i -us -uc




More information about the Pkg-jed-commit mailing list