v symlink: use @echo off for v.bat
parent
8d10adf886
commit
ca19cec9a5
|
@ -52,7 +52,7 @@ fn setup_symlink_on_windows(){
|
|||
vsymlinkbat := os.join_path(vsymlinkdir, 'v.bat')
|
||||
os.rmdir_all(vsymlinkdir)
|
||||
os.mkdir_all(vsymlinkdir)
|
||||
os.write_file(vsymlinkbat, '$vexe %*')
|
||||
os.write_file(vsymlinkbat, '@echo off\n${vexe} %*')
|
||||
if !os.exists( vsymlinkbat ) {
|
||||
eprintln('Could not create $vsymlinkbat')
|
||||
exit(1)
|
||||
|
|
Loading…
Reference in New Issue