r1104 - vdr/vdr/trunk/debian

Tobias Grimm tiber-guest at costa.debian.org
Mon Aug 29 20:16:52 UTC 2005


Author: tiber-guest
Date: 2005-08-29 20:16:51 +0000 (Mon, 29 Aug 2005)
New Revision: 1104

Modified:
   vdr/vdr/trunk/debian/changelog
   vdr/vdr/trunk/debian/patchlevel.sh
Log:
Made debian/patchlevel.sh acccept opt-entries in 00list with leading
spaces and removed leading space from vdr-patchlevel output


Modified: vdr/vdr/trunk/debian/changelog
===================================================================
--- vdr/vdr/trunk/debian/changelog	2005-08-28 18:05:56 UTC (rev 1103)
+++ vdr/vdr/trunk/debian/changelog	2005-08-29 20:16:51 UTC (rev 1104)
@@ -5,6 +5,9 @@
   * Thomas Schmidt <tschmidt at debian.org>
     - New upstream release
     - Use --background when calling start-stop-daemon in the init-script
+  * Tobias Grimm <tg at e-tobi.net>
+    - Made debian/patchlevel.sh acccept opt-entries in 00list with leading
+      spaces and removed leading space from vdr-patchlevel output
 
  -- Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>  Sun, 28 Aug 2005 18:25:00 +0200
 

Modified: vdr/vdr/trunk/debian/patchlevel.sh
===================================================================
--- vdr/vdr/trunk/debian/patchlevel.sh	2005-08-28 18:05:56 UTC (rev 1103)
+++ vdr/vdr/trunk/debian/patchlevel.sh	2005-08-29 20:16:51 UTC (rev 1104)
@@ -4,9 +4,13 @@
     "make")
         # scan patches in 00list and write to patchlevel file
         echo -n "Patches: "
-        for p in $(grep "^opt-[0-9][0-9]_" debian/patches/00list | cut -d"_" -f2-); do
+        for p in $(grep "^[[:space:]]*opt-[0-9][0-9]_" debian/patches/00list | cut -d"_" -f2-); do
             echo -n "$p "
-            PATCHES="$PATCHES $p"
+            if [ -z $PATCHES ]; then
+                PATCHES="$p"
+            else
+                PATCHES="$PATCHES $p"
+            fi
         done
         echo
         echo "patchlevel=$PATCHES" > patchlevel




More information about the pkg-vdr-dvb-changes mailing list