[Fai-commit] r5139 - people/michael/experimental

mt at alioth.debian.org mt at alioth.debian.org
Tue Sep 9 06:46:14 UTC 2008


Author: mt
Date: 2008-09-09 06:46:12 +0000 (Tue, 09 Sep 2008)
New Revision: 5139

Modified:
   people/michael/experimental/build-on-alioth
Log:
proper changelog formatting


Modified: people/michael/experimental/build-on-alioth
===================================================================
--- people/michael/experimental/build-on-alioth	2008-09-09 06:37:43 UTC (rev 5138)
+++ people/michael/experimental/build-on-alioth	2008-09-09 06:46:12 UTC (rev 5139)
@@ -24,9 +24,9 @@
   echo >> debian/changelog
   echo "  * Experimental FAI based on SVN r$REV" >> debian/changelog
   for i in `quilt series` ; do 
-    author="`quilt header $i | sed 1p | sed 's/^[[:digit:] -]*//'`"
+    author="`quilt header $i | sed -n 1p | sed 's/^[[:digit:] -]*//'`"
     quilt header $i | sed '/^[[:space:]]*$/d' | sed '/^[^[:space:]]/d' | \
-      sed "s/^[[:space:]]*\*/& $author:/" >> debian/changelog
+      sed "s/^[[:space:]]*\*/  [ $author ]\n&/" >> debian/changelog
   done
   echo >> debian/changelog
   echo " -- FAI Developers <linux-fai-devel at uni-koeln.de>  `date -R`" >> debian/changelog




More information about the Fai-commit mailing list