diff options
Diffstat (limited to 'sysutils/puppet/files/optpatch-package_origin')
-rw-r--r-- | sysutils/puppet/files/optpatch-package_origin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/puppet/files/optpatch-package_origin b/sysutils/puppet/files/optpatch-package_origin index 0f6cb3aa6e31..c087c85d7960 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, nil) + + # fix bug in URI::FTP merge method that tries to set typecode + # even when other is a string. |