Skip to content

Commit

Permalink
Potential fix for #35
Browse files Browse the repository at this point in the history
  • Loading branch information
cannorin committed Mar 30, 2021
1 parent ffc77f7 commit 2fda4ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ fsautocomplete : $(ac_exe)
$(ac_exe) : $(bin_d)
curl -L "$(ac_url)" -o "$(bin_d)/$(ac_archive)"
unzip -o "$(bin_d)/$(ac_archive)" -d "$(bin_d)"
find $(bin_d) -type f -exec chmod 777 \{\} \;
touch "$(ac_exe)"

update:
curl -L "$(ac_url)" -o "$(bin_d)/$(ac_archive)"
unzip -o "$(bin_d)/$(ac_archive)" -d "$(bin_d)"
find $(bin_d) -type f -exec chmod 777 \{\} \;
touch "$(ac_exe)"

$(bin_d) :; mkdir -p $(bin_d)
Expand Down
1 change: 1 addition & 0 deletions autoload/fsharp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ function! s:download(branch)
\ )
if v:shell_error == 0
call system('unzip -o -d ' . s:script_root_dir . "/fsac " . zip)
call system('find ' . s:script_root_dir . '/fsac' . ' -type f -exec chmod 777 \{\} \;')
echom "[FSAC] Updated FsAutoComplete to version " . a:branch . ""
else
echom "[FSAC] Failed to update FsAutoComplete"
Expand Down

0 comments on commit 2fda4ad

Please sign in to comment.