update Rakefile
This commit is contained in:
parent
4035ae4c7f
commit
242bc96556
3
Rakefile
3
Rakefile
|
@ -366,7 +366,8 @@ namespace :justask do
|
|||
`mkdir -p /tmp/rs_export/#{export_dirname}/picture`
|
||||
if u.profile_picture
|
||||
%i(large medium small original).each do |s|
|
||||
`cp #{u.profile_picture.path s} /tmp/rs_export/#{export_dirname}/picture/#{s}_#{File.basename u.profile_picture.path}`
|
||||
x = u.profile_picture.path(s).gsub('"', '\\"')
|
||||
`cp "#{x}" "/tmp/rs_export/#{export_dirname}/picture/#{s}_#{File.basename x}"`
|
||||
end
|
||||
end
|
||||
File.open "/tmp/rs_export/#{export_dirname}/#{export_filename}.json", 'w' do |f|
|
||||
|
|
Loading…
Reference in New Issue