summaryrefslogtreecommitdiffstats
path: root/sysutils/portupgrade-devel/files/patch-lib-portsdb.rb
blob: 2a7d989170ae798bcc5ce652fe01abbe66e9315d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- lib/portsdb.rb.orig	Mon Jan  2 21:58:23 2006
+++ lib/portsdb.rb	Mon Jan  2 21:58:55 2006
@@ -87,8 +87,11 @@
       while true
 	if moved = @moved[me]
 	  t << moved
-	  me = moved.to
-	  break if me.nil?
+	  if me.nil? or me == moved.to
+	    break
+	  else
+	    me = moved.to
+	  end
 	else
 	  break
 	end
OpenPOWER on IntegriCloud