Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/um/topic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class << self
private

def topic_file_path
tmp_dir_path = '/var/tmp/um/' + Etc.getlogin
tmp_dir_path = '/var/tmp/um/' + Etc.getpwuid.name
FileUtils.mkdir_p tmp_dir_path

tmp_dir_path + '/current.topic'
Expand Down
2 changes: 1 addition & 1 deletion lib/um/umconfig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class << self
# Cache the current pages directory in a file. This is used by the bash
# completion script to avoid spinning up Ruby.
def write_pages_directory(pages_directory_path)
tmp_dir_path = '/var/tmp/um/' + Etc.getlogin
tmp_dir_path = '/var/tmp/um/' + Etc.getpwuid.name
FileUtils.mkdir_p tmp_dir_path

tmp_file_path = tmp_dir_path + '/current.pagedir'
Expand Down