add - before uid in state_file

parent 30c37f24
......@@ -7,7 +7,7 @@ Index: ruby-uuid/lib/uuid.rb
end
- @state_file = File.join(state_dir, 'ruby-uuid')
+ @state_file = File.join(state_dir, 'ruby-uuid'+Process.uid.to_s)
+ @state_file = File.join(state_dir, 'ruby-uuid-'+Process.uid.to_s)
if !File.writable?(state_dir) || (File.exists?(@state_file) && !File.writable?(@state_file)) then
@state_file = File.expand_path('.ruby-uuid', '~')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment