From 1c660e86faf604cd36d63f1ba6df999f7079e08d Mon Sep 17 00:00:00 2001 From: Mike Ellery Date: Tue, 15 Mar 2016 15:17:33 -0700 Subject: [PATCH] use file quoting for chmod - added quotes around argument (file) to chmod --- plugin/rcsvers.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/rcsvers.vim b/plugin/rcsvers.vim index d4e239b..bc013a7 100644 --- a/plugin/rcsvers.vim +++ b/plugin/rcsvers.vim @@ -924,11 +924,11 @@ function! s:Rcsvers(filename, type) " Executable file if (executable(l:fullpath) == 1) if (executable(l:rcsfile) == 0) - call s:RunCmd("chmod +x " . l:rcsfile) + call s:RunCmd("chmod +x ".g:rvFileQuote.l:rcsfile.g:rvFileQuote) endif else "file has no executable bit if (executable(l:rcsfile) == 1) - call s:RunCmd("chmod -x " . l:rcsfile) + call s:RunCmd("chmod -x ".g:rvFileQuote.l:rcsfile.g:rvFileQuote) endif endif endif