[kernel] r19092 - people/benh

Ben Hutchings benh at alioth.debian.org
Thu Jun 7 05:19:29 UTC 2012


Author: benh
Date: Thu Jun  7 05:19:27 2012
New Revision: 19092

Log:
Fix application of orig-N series for N > 0, although this is likely dead code

Modified:
   people/benh/debian-kernel-patches-to-git

Modified: people/benh/debian-kernel-patches-to-git
==============================================================================
--- people/benh/debian-kernel-patches-to-git	Thu Jun  7 05:17:52 2012	(r19091)
+++ people/benh/debian-kernel-patches-to-git	Thu Jun  7 05:19:27 2012	(r19092)
@@ -156,13 +156,7 @@
 
     # Create the DFSG-compliant 'orig' version if necessary
     if [ "$dfsg_rev" != "$prev_dfsg_rev" ]; then
-	if [ -z "$prev_dfsg_rev" ]; then
-	    prev_tag="v${upstream_ver/.0/}"
-	elif [ "$prev_dfsg_rev" = 0 ]; then
-	    prev_tag="debian/$upstream_ver"
-	else
-	    prev_tag="debian/$upstream_ver.dfsg.$prev_dfsg_rev"
-	fi
+	prev_tag="v${upstream_ver/.0/}"
 	prev_tag="${prev_tag//\~/-}"
 	tag="debian/${orig_ver//\~/-}"
 	ensure_version "$tag" "$prev_tag" "orig-$dfsg_rev"



More information about the Kernel-svn-changes mailing list