view src/pathdef.sh @ 15634:746b95fd25ad v8.1.0825

patch 8.1.0825: code for autocommands is mixed with file I/O code commit https://github.com/vim/vim/commit/3e460fd8b72db905fbf9f01b00371384ffc415b8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 26 16:21:07 2019 +0100 patch 8.1.0825: code for autocommands is mixed with file I/O code Problem: Code for autocommands is mixed with file I/O code. Solution: Move autocommand code to a separate file. (Yegappan Lakshmanan, closes #3863)
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Jan 2019 16:30:13 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

#! /bin/sh
#
# pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists
#
if test -s auto/link.sed; then
  cp auto/pathdef.c auto/pathdef.tmp
  sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c
  rm -f auto/pathdef.tmp
fi

# vim:set sw=2 et: