Skip to content

Commit

Permalink
use absolute path instead
Browse files Browse the repository at this point in the history
  • Loading branch information
airtonix committed Dec 27, 2022
1 parent 353dcaf commit 310f8cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/telescope-fzf-native/download_library.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,23 +84,23 @@ local download = function(options)
command = {
'curl', '-L',
string.format("%s/%s/windows-2019-%s-libfzf.dll", releases_url, version, compiler),
'-o', path_join({ 'build', 'libfzf.dll' })
'-o', path_join({ plugin_path, 'build', 'libfzf.dll' })
}
end

if platform == 'ubuntu' then
command = {
"curl", "-L",
string.format("%s/%s/ubuntu-%s-libfzf.so", releases_url, version, compiler),
"-o", path_join({ 'build', 'libfzf.so' })
"-o", path_join({ plugin_path, 'build', 'libfzf.so' })
}
end

if platform == 'macos' then
command = {
"curl", "-L",
string.format("%s/%s/macos-%s-libfzf.so", releases_url, version, compiler),
"-o", path_join({ 'build', 'libfzf.so' })
"-o", path_join({ plugin_path, 'build', 'libfzf.so' })
}
end

Expand Down

0 comments on commit 310f8cd

Please sign in to comment.