expand tmp for osx

This commit is contained in:
Sam 2017-04-12 14:47:37 -04:00
parent db9a44d4b5
commit a018eed611
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class GitImporter
if @url.start_with?("https://github.com") && !@url.end_with?(".git")
@url += ".git"
end
@temp_folder = "#{Dir.tmpdir}/discourse_theme_#{SecureRandom.hex}"
@temp_folder = "#{Pathname.new(Dir.tmpdir).realpath}/discourse_theme_#{SecureRandom.hex}"
end
def import!