summaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb
blob: 6d3d53d37083eddc81190b55ecb23748b70231e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- lib/pkgtools.rb.orig	Tue Apr 22 14:35:20 2003
+++ lib/pkgtools.rb	Tue Apr 22 17:57:25 2003
@@ -604,8 +604,9 @@
     neworigin ||= $pkgdb.origin(newdep)
   end
 
+  lines = []
+
   File.open(file) do |f|
-    lines = []
     pkgdeps = Set.new
 
     deporigin = nil	# what to do with the next DEPORIGIN