aboutsummaryrefslogtreecommitdiff
path: root/autoload/shebang_create_exec.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/shebang_create_exec.vim')
-rw-r--r--autoload/shebang_create_exec.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/shebang_create_exec.vim b/autoload/shebang_create_exec.vim
index 1ce68e3..a69600a 100644
--- a/autoload/shebang_create_exec.vim
+++ b/autoload/shebang_create_exec.vim
@@ -71,7 +71,7 @@ function! s:MakeExecutable(filename) abort
" We'll need to fork to chmod(1); escape the filename safely, using
" shellescape() if we've got it
- let l:filename_escaped = exists('*shellescape')
+ let filename_escaped = exists('*shellescape')
\ ? shellescape(filename)
\ : '''' . escape(filename, '''') . ''''