[kernel] r17600 - people/benh

Ben Hutchings benh at alioth.debian.org
Sun Jun 5 22:26:32 UTC 2011


Author: benh
Date: Sun Jun  5 22:26:31 2011
New Revision: 17600

Log:
Strip .0 from upstream tag names

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

Modified: people/benh/debian-kernel-patches-to-git
==============================================================================
--- people/benh/debian-kernel-patches-to-git	Sun Jun  5 22:19:06 2011	(r17599)
+++ people/benh/debian-kernel-patches-to-git	Sun Jun  5 22:26:31 2011	(r17600)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# Copyright 2010 Ben Hutchings
+# Copyright 2011 Ben Hutchings
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -146,7 +146,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"
+	    prev_tag="v${upstream_ver/.0/}"
 	elif [ "$prev_dfsg_rev" = 0 ]; then
 	    prev_tag="debian/$upstream_ver"
 	else



More information about the Kernel-svn-changes mailing list