view src/pathdef.sh @ 16700:46322a4e6028 v8.1.1352

patch 8.1.1352: undofile() reports wrong name commit https://github.com/vim/vim/commit/e9ebc9a91cac357fd4888f4b71fdff7d97b41160 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 19 15:27:14 2019 +0200 patch 8.1.1352: undofile() reports wrong name Problem: Undofile() reports wrong name. (Francisco Giordano) Solution: Clean up the name before changing path separators. (closes https://github.com/vim/vim/issues/4392, closes #4394)
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 May 2019 15:30:08 +0200
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: