diff --git a/lib/portsdb.rb b/lib/portsdb.rb index eb8aaab..f1c8906 100644 --- a/lib/portsdb.rb +++ b/lib/portsdb.rb @@ -404,8 +404,7 @@ def update(fetch = false) end if fetch - index_dir, index_file = make_var(['INDEXDIR', 'INDEXFILE']) - system "cd #{abs_ports_dir} && make fetchindex && cp #{index_dir}/#{index_file} #{tmp}" + system "cd #{abs_ports_dir} && make fetchindex && cp #{index_file} #{tmp}" else system "cd #{abs_ports_dir} && make INDEXFILE=INDEX.tmp index && mv INDEX.tmp #{tmp}" end