r1374 - branches/kernel/source/exp-patch-system/debian

Joshua Kwan joshk@haydn.debian.org
Sat, 28 Aug 2004 20:39:25 -0600


Author: joshk
Date: 2004-08-27 04:10:30 -0600 (Fri, 27 Aug 2004)
New Revision: 1374

Modified:
   branches/kernel/source/exp-patch-system/debian/apply
Log:
fix


Modified: branches/kernel/source/exp-patch-system/debian/apply
===================================================================
--- branches/kernel/source/exp-patch-system/debian/apply	2004-08-27 10:04:02 UTC (rev 1373)
+++ branches/kernel/source/exp-patch-system/debian/apply	2004-08-27 10:10:30 UTC (rev 1374)
@@ -153,7 +153,7 @@
 		base=$(basename "$sver")
 		srev=${base#*-}
 		if [ -n "$srev" ]; then
-			if [ $srev -gt $current_rev ]; then
+			if [ $srev -gt $current_rev ] && [ $srev -le $target_rev ]; then
 				patch_series $sver
 			fi
 		else