aboutsummaryrefslogtreecommitdiff
path: root/sysutils/puppet/files/optpatch-package_origin
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/puppet/files/optpatch-package_origin')
-rw-r--r--sysutils/puppet/files/optpatch-package_origin4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/puppet/files/optpatch-package_origin b/sysutils/puppet/files/optpatch-package_origin
index 971cb41066a3..92756545efce 100644
--- a/sysutils/puppet/files/optpatch-package_origin
+++ b/sysutils/puppet/files/optpatch-package_origin
@@ -30,8 +30,8 @@
- def self.listcmd
- command(:pkginfo)
-+ @@lock = Mutex.new
-+ @@ports_index = nil
++ class_variable_set(:@@lock, Mutex.new)
++ class_variable_set(:@@ports_index, new)
+
+ # fix bug in URI::FTP merge method that tries to set typecode
+ # even when other is a string.