view src/pathdef.sh @ 16823:b1b7c7a31679 v8.1.1413

patch 8.1.1413: error when the drive of the swap file was disconnected commit https://github.com/vim/vim/commit/b58a4b938c4bc7e0499700859bd7abba9acc5b11 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 27 23:36:21 2019 +0200 patch 8.1.1413: error when the drive of the swap file was disconnected Problem: Error when the drive of the swap file was disconnected. Solution: Try closing and re-opening the swap file. (closes https://github.com/vim/vim/issues/4378)
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 May 2019 23:45:04 +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: